Hello,
I’m trying to create my own block-title header for a section where readers can sign up to my newsletters.
I’ve got it in an ad unit slot so it’s below my article.
The current code is:
<h4 class="block-title"><span>Sign up for our newsletters</span></h4>
This has made the title text centered and not aligned left? How can i get it to align left (like the other block titles on the page) and make the font bigger for this title only?
Thanks,
Hello,
I reccommend adding another class to the block title so you can target it with css and not affect other block titles. Something like:
<h4 class="block-title custom-class"><span>Sign up for our newsletters</span></h4>
Then you can use the custom class to style the title for example:
.custom-class h4{
float:left;
font-size:14px;
}
I hope this helps
Thank you!
-
This reply was modified 10 years by
Bogdan B..
