• Resolved antoineO

    (@antoineo)


    Hi,
    I would like to add a background on just 1 element of my primary menu. How can I do this please ?
    => On this page (https://lapousse.fr/) concerning the element “DEVIS GRATUIT”

    Thanks for your help

Viewing 11 replies - 1 through 11 (of 11 total)
  • hannah

    (@hannahritner)

    Add this to your custom css box in theme options:

    .kad-header-style-basic #nav-main ul.sf-menu > li:last-child > a {
    background: #999;
    }

    Hannah

    Thread Starter antoineO

    (@antoineo)

    It works perfectly !
    Thanks very much Hannah for your help

    Thread Starter antoineO

    (@antoineo)

    I come back on this demand.

    How can i change the background of the others primary menu entries please ?

    Thank for your help

    hannah

    (@hannahritner)

    Like the entire menu? You can use this:

    .kad-primary-nav ul.sf-menu {
      background: #b43b3b;
    }

    Hannah

    Thread Starter antoineO

    (@antoineo)

    Thanks for your help again, but i would like :
    – to put opacity/transparence on each entry, except to the last (Devis gratuit)
    – to put opacity/transparence just on the background

    I have tried but without success :/

    My CSS :

    .kad-header-style-basic #nav-main ul.sf-menu > li:last-child > a { /* la dernière entrée */
        background: #b43b3b;
        color : #ffffff;
        opacity: 0.8 !important;
    }
    
    .kad-primary-nav ul.sf-menu { /* tous les entrées du menu */
      background: #444444;
      opacity: 0.4;
    }
    hannah

    (@hannahritner)

    I think your best off removing your css and just using this:

    .kad-primary-nav ul.sf-menu {
      background: rgba(80,80,80,.85);
    }

    That shouldn’t effect your last menu item.

    Hannah

    Thread Starter antoineO

    (@antoineo)

    Oh it is working perfectly !

    Thanks very much Hannah for your permanent help ??

    I make lots of progress thxs to you

    Question: (I searched the forum with no success)

    Do you why am i unable to add a new menu to pinnacle free? I select the option but the screen never serves up the activity.

    (To clarify, it only allows me to use 2 menus and cannot create the third

    hannah

    (@hannahritner)

    kasmel,
    Please start your own topic and provide a link. Also, I’m not sure what third menu you’re referring to?

    Hannah

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Primary menu > change background for 1 entry’ is closed to new replies.