-
AuthorPosts
-
July 4, 2017 at 6:35 pm #816444
Hi
in http://www.fondazionevillaghigi.it homepage, in left side masonry galleries,
I need to change background, title and caption colors of two boxes (number 3 and 4, in which you read class “custode”).
We separated the only gallery to 3 galleries in order to set a specific class for boxes number 3 and 4.We added this line to functions.php file:
add_theme_support(‘avia_template_builder_custom_css’);
to have a new field to set a class “custode”Every effort was useless
We couldn’t change the css even copying the code from Chrome inspector.What can we do?
July 4, 2017 at 7:10 pm #816457Hey camcaminin,
Sorry, you can only give a Custom CSS class to the masonry element, not the entries inside it.
But what you’re trying to do is still possible! :)
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.av-masonry-entry.post-2109 .av-inner-masonry-content {background:gold !important;} .av-masonry-entry.post-2109 .entry-title {color:white;} .av-masonry-entry.post-2109 .entry-content {color:black;} .av-masonry-entry.post-2133 .av-inner-masonry-content {background:gold !important;} .av-masonry-entry.post-2133 .entry-title {color:white;} .av-masonry-entry.post-2133 .entry-content {color:black;}This should work even if you don’t put box 3 and 4 in a separate masonry element.
Please let us know if you need further help.
Best regards,
SarahJuly 5, 2017 at 11:11 am #816690Thanks Sarah for your kind reply. I added the code but Unfortunately nothing has changed. Please advise
July 5, 2017 at 2:48 pm #816755Hi!
That’s strange. Please try clearing your browser cache, WordPress cache, and refreshing your browser a few times.
If this does not help, please provide us admin access into your website so we can take a closer look. :)
Best regards,
Sarah -
AuthorPosts
- You must be logged in to reply to this topic.
