Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1060111
    bryan1976
    Participant

    Hi,

    My website is here dev.theaudiobarn.co.uk – latest wordpress/x/cornerstone

    2 things please:

    1). My header is transparent, and I would like the dropdown submenu to share this same transparency – how please?

    2). The dropdown is not centred on its parent…please see image attached. How can I have the dropdown background AND the actual menu link both centred below the parent.

    Thanks for your help!

    Bryan

    #1060128
    Thai
    Moderator

    Hey There,

    Please add the following CSS under Customizer > Custom > Global CSS:

    .desktop .sub-menu {
        background-color: rgba(49,49,49,0.85);
    }
    .masthead-inline .x-navbar .desktop .sub-menu {
        left: 50%;
        margin-left: -100px;
    }

    Hope it helps 🙂

    #1060184
    bryan1976
    Participant

    Hi,

    OK pretty good thanks. However:

    1) How to change the font….I am using josefin sans in the main navigation

    2) Can the sub menu links be centred aligned?

    3) Can the width of the dropdown be reduced?

    Thanks,

    Bryan

    #1060194
    Thai
    Moderator

    Hi Bryan,

    Please update the previous CSS a bit:

    .desktop .sub-menu {
        background-color: rgba(49,49,49,0.85);
    }
    body .x-navbar ul.sub-menu li a {
        text-align: center;
        font-family: "Josefin Sans",sans-serif;
    }
    .masthead-inline .x-navbar .desktop .sub-menu {
        left: 50%;
        margin-left: -70px;
        min-width: 140px;
    }

    Hope it helps 🙂

  • <script> jQuery(function($){ $("#no-reply-1060111 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>