Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #872747

    Hi,

    I have a question, is it possible to style only the first item in the blog? I’m sending a screen. I would like only the first highlighted item to look different. I know that each of them has their own ID, but I want this style to go to every new added item. Unfortunately, the first-child function does not work.

    Screen

    #872760

    try this selector:

    
    .av-masonry-container a:nth-of-type(1) .av-inner-masonry {
        border: 10px solid #900;
    }

    styling the a itself is ugly :lol

    #872883

    This is it, thank you! :)

    #872990

    Hi,

    Great, glad you got it working and thanks @guenni007 for helping out :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #894951

    Hi, you can close the topic. Thanks!

    #894984

    Hi,

    I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Styling only first item in blog’ is closed to new replies.