Re: Change position of collection banner heading

Change position of collection banner heading

AM82
Tourist
11 0 5

Hello All

 

I have a question if someone can help me to change the heading in the bottom left corner 

 

AM82_0-1699199589716.png

 

I tried many CSS-Codes but nothing works properly.

 

ThankYou

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
9846 2341 2936

Hi @AM82 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

h1.collection-banner--title {
    text-align: left !important;
}
@media only screen and (min-width: 768px){
.collection-banner--content {
    margin: 0 !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699200297772.png

     

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
AM82
Tourist
11 0 5

i dont have any asset with the name "base.css, style.css or theme.css" and im not sure where to put the code in

Alex520
Shopify Partner
15 2 5

On the Themes page click on the 3 dotted button, then Edit code

Screenshot 2023-11-05 at 8.13.08 AM.png

Alex - Developer
Available for Hire
AM82
Tourist
11 0 5

I know this but when i search in the "Assets" folder i cannot find these .css just some others

AM82
Tourist
11 0 5

Hello Made4uo-Ribe

 

It works but it is just left and not on the bottom left.