Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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…)

    #947275

    Hey 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,
    Mike

    #948376

    Hi 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.
    JM

    #948398

    Hi,
    This might help: Beginner Concepts: How CSS Selectors Work and this: (Purchase code hidden if logged out) -must-memorize–net-16048″>The 30 CSS Selectors You Must Memorize

    Glad 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

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Masonry Quick CSS for a 1px border’ is closed to new replies.