Hi,
I would like to have h1 and h2 tag on my frontage. Problem is that whenever I put it (whichever block or widget I use), these two headings are shown with default font size which does not suit my needs.
My question is whether it is possible to define h1 and h2 font size in Theme Panel->Footer->Footer Info Content->Footer Text which will be the same as the rest of the text which will not be h1 or h2.
Basically what I want to do is to define h1 and h2 in the About Us section in the Footer which will be the same size as the rest of the font in this section.
For example, this is the About Us part of the footer:
High Tech News is our effort to bring the best latest science and technology news to a broader audience. We live in the most advanced science and technology era and it will be a great shame if people do not get familiar with all the latest events. This is our personal effort to make that possible. Stay Informed!
Here I would like to make “High Tech News” as h1 and “Stay Informed!” as h2, but I would like to keep the font size of these two headings as the rest of the text in this section.
Many thanks,
Vladimir
Hi Vladimir,
You can add h1 and h2 tags to the footer description text and use a custom class to change the default theme css for h tags – http://screencast.com/t/DeQlsOft – http://screencast.com/t/ZlcrlhUvybk
.td-footer-h {
display: inline;
font-family: 'Open Sans', arial, sans-serif;
color: #fff;
font-size: 14px;
line-height: 21px;
margin-top: 0;
margin-bottom: 0;
font-weight: normal;
}
Hope this helps!
Hi Alin,
Thanks for your prompt replay. If I do this, will I change the font size of all h1 and h2 tags theme-wise (posts, other pages etc.)?
And one more thing – how/where to add the custom CSS code in my theme?
Thanks,
Vladimir
Hi,
If you add a custom class like in my example the css will be applied only there, no h tags affected.
You can add the css code in Theme Panel > Custom Css – http://screencast.com/t/XmKLxknI
Thanks!
Hi Alin,
Splendid, exactly what I was looking for.
Have a great week ahead!
Vladimir