Grid 2.0 - Change footer titles from H2 to span

Grid 2.0 - Change footer titles from H2 to span

SeleneProvence
Tourist
6 0 2

Hi guys,

 

I would like to change my titles in the footer from H2 to span for SEO reasons.

 

I have found the code in the footer.liquid section, I assume this is the right place to modify the code.

 

I have then changed <H2> to <span>, this works but doesn't look nice. What kind of code should I add if I want to change the color and the size of the titles converted to span? Should I use a special class for this ? Should I need to modify any other sections ?

 

Thanks a lot for your help !

 

Sarah

Reply 1 (1)

EcomGraduates
Shopify Partner
592 48 80

Here's an example

<span class="footer-title">Title Text Here</span>

 

Then, in your theme's CSS file, you can add styles for this class. For example, to change the color to red and the font size to 16px, you can add the following code:

 

.footer-title {
  color: red;
  font-size: 16px;
}

 

Make sure to modify the class name and the styles to match your desired design.


Thank you for reading our post!


Check out who we are: EcomGraduates


Boost your sales with our new theme: Ecomify