Hi, I wonder if it’s possible to have the text in the Icon Box left aligned but the header in the box centered. I’ve found this class but if I set it to left it changes both the text and the header:
#top .iconbox_top {
text-align: centered;
}
Can you point out which CSS I can modify to achieve this?
Thanks
/Michael
Hi Michael!
Try with this:
#top .iconbox_content_title {
text-align: centered;
}
Regards,
Josue
Thanks Josue, that worked :-) One more thing, is it possible to have the headline centered on some boxes and left aligned on others? By giving them different classes or something. Depending on the layout of the page some boxes would look better with left and some with centered.
/Michael
Hi!
Yes – you can add custom css classes to the elements. You just need to add one line of code to the theme functions.php file to activate this feature – see: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Best regards,
Peter
Hi Peter, thanks for your reply. I’ve tried adding a custom css class to the icon box and it works but my class and CSS:
#top .iconbox_top_metod {
text-align: right;
}
is overruled by the original
#top .iconbox_top {
text-align: left;
}
Am I missing something? Hope you can help
/Michael
Hey!
Please add !important rule to the code as following
#top .iconbox_top_metod {
text-align: right !important;
}
Best regards,
Yigit
Thanks Yigit!
/Michael