Tagged: quick css
-
AuthorPosts
-
April 26, 2018 at 12:23 pm #947229
http://raisondetre-naming.com/#portfolio“>
Hi,
I’d like to add a 1px border #808080 in this masonry: Portfolio Highlights.Shame on me but I do not happen to reproduce what you previously gave me as quick CSS for the other masonry which was :
figure.av-inner-masonry.main_color{
border:1px solid #333333!important;
}I took the same formula but do not manage to reach the portfolio masonry…tried differents terms such as av-inner-masonry-2 and others…But shame on me I didn’t find the right code.
In order not to disturb again: how can I locate de right name of an object in a page or generic for the whole site?
I didn’t saw it in via the Inspector. (Sure it’s in there, but…)April 26, 2018 at 2:07 pm #947275Hey JMDP,
You have the right code, only you also have another rule that declares a 0px border with !important; for the same page which is why you are having trouble. Please see screenshot in Private Content area.
Please try changing the other rule so it is more specific, such as adding the element ID, so it won’t interfere with other pages & rules, like this:#top.home #references figure.av-inner-masonry.main_color { border: 0px solid #333333!important; }
Please use this more specific portfolio rule:
#top.home #portfolio figure.av-inner-masonry.main_color{ border:1px solid #808080!important; }
Best regards,
MikeApril 28, 2018 at 3:41 pm #948376Hi Mike,
thanks, it works.
And thanks for having clarified.
I have to find some time to really understand how to target spéecial elements in the page and/or the whole site.
Thanks again.
Enjoy.
JMApril 28, 2018 at 4:16 pm #948398Hi,
This might help: Beginner Concepts: How CSS Selectors Work and this: The 30 CSS Selectors You Must MemorizeGlad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
and the video tutorials here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Masonry Quick CSS for a 1px border’ is closed to new replies.