Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #362233

    Hi,

    I’m working with the enfold template for a restaurant. I’m using the catalog list to display the various menu

    I’ve added the word “or” between the different terms of a same list thanks to
    .av-catalogue-list li:after { content: "or";}
    Dishe 1
    or
    Dishe 2

    I’ve encounter a problem with the last-child term : whatever i’m doing…it’s always displayed

    .av-catalogue-list li:after { content: "or"}
    .av-catalogue-list li:last-child > after  {border-bottom: none;content: ""}

    May I’ve your advice not to display this last child ?
    Many Many thanks

    #362604

    Hey Ikyo!

    Try this.

    .av-catalogue-list > li:last-child:after {
        content: "";
    }

    Regards,
    Elliott

    #364106

    THANK YOU so much Elliott
    This support forum is one of the best I know

    #Deutsch Top-Qualität!
    Prima Gut

    Kind regards
    Tschüss

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘li:last-child’ is closed to new replies.