Make content container broad

Daniel19901
Shopify Partner
138 0 15

Hi, I would like my container to be broad enough, so that the header will break into 2 lines and not 3. I was trying to play with the max-width of the header "Bentobay's.....box" (because i didn't want the others to be influenced) but it didn't work. Can anyone help with the right code ?

 

https://bentobay.de/
Pass: bawvay

 

Daniel19901_0-1716821410623.png

 

Replies 3 (3)

BSSCommerce-HDL
Shopify Expert
733 242 254

Hi @Daniel19901

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

Step 3: Insert the below code at the bottom of the file -> Save

h2.banner__heading.inline-richtext.h0 {
    font-size: 36px !important;
}
h2.banner__heading.inline-richtext.h0 strong {
    display: inline-block;
    width: inherit !important;
}

Here is result: 

BSSTechVenture_0-1716822872587.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Daniel19901
Shopify Partner
138 0 15

@BSSCommerce-HDL thank you so much for replying. There's just one problem. Once I make the font 50px (I want it bigger), than it breaks into 3 again. Is there a way to stop this from happening ?

BSSCommerce-HDL
Shopify Expert
733 242 254

Hi @Daniel19901, For font-size: 50px
Pls insert this code to your file css: 

h2.banner__heading.inline-richtext.h0 {
    width: 700px !important;
    transform: translateX(-72px);
}

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency