Tagged: formatting, Masonry Gallery, portfolio grid, text
Hello,
Is there a way to display the text the same formatting for masonry gallery and portfolio grid? In the link below, you can see that the portfolio grid text is centered and not bold and the masonry gallery is left-aligned and bolded. Is it possible to make the masonry gallery text center-aligned and not bold? Thanks!
Hey schenkco!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
h3.av-masonry-entry-title {
text-align: center;
font-weight: normal;
}
Regards,
Yigit
Sorry to be picky. Something still doesn’t look right. It appears like the font size is just a bit bigger than the portfolio grid. I’ve tried using font-size: 10px but nothing changed. Perhaps I’m using the wrong code :/
Hi!
Please add following code to Quick CSS as well
h3.av-masonry-entry-title { font-size: 13px !important; }
Cheers!
Yigit
It works!
I realize this also changes all masonry gallery titles to be centered with font size 13px. There’s probably no way to target specifically just this products page? For instance, can I apply it only to a custom CSS class?
Hi!
You can turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your element and give it a custom class and then change the code to following one
.your-custom-class h3.av-masonry-entry-title {
text-align: center;
font-weight: normal;
font-size: 13px !important;
}
Regards,
Yigit
Sweet!! Thanks for all your help so far Yigit!