Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1405449

    Hello,

    My client wants a multicolored gradient nav bar, but a white background on the logo area above the nav bar.

    Here is a mock-up example – http://emilyl48.sg-host.com/wp-content/uploads/2023/04/Screen-Shot-2023-04-24-at-4.31.29-PM.png

    How can I do this?

    Thanks!

    #1405485

    Yes of course; however, you may need to create the gradient via css.
    Header layout would be logo center – menu below
    as you can see here on a demo-page: https://kriesi.at/themes/enfold-medical/

    But for your logo I would suggest to divide it into a brand and sub-text – like it is here in the forum.
    Then you have the possibility with smaller screen widths (mobile devices etc.) to react to the smaller space. E.g. by placing the slogans below the logo or hiding them like here in the forum.

    If you got this layout – the nav background is in a header_main_alternate container – so try:

    #top #header_main_alternate {
      background: #ca5fb4;
      background: -webkit-linear-gradient(left,  #fc6267 0%,#ca5fb4 50%,#995dfa 100%);
      background: linear-gradient(to right,  #fc6267 0%,#ca5fb4 50%,#995dfa 100%); 
    }

    but then you need the font to be white ?
    and with such a big first-level menu – i would break the hamburger at 990px

    @media only screen and (min-width: 990px) {
      #top #header .av-main-nav > li > a .avia-menu-text,
      #top #header .av-main-nav > li > a {
        color: #fff
      }
    
      #top #avia-menu {
        display:flex;
        flex-flow: row wrap;
        justify-content: space-between;
      }
    }

    etc. but it would be better to see the page – to give exact advice

    #1405619

    Hi,

    @edgeofcinema
    it looks like you were able to sort it out with @Guenni007’s advice, thanks Guenni007
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    #1405684

    by the way: i guess you have zipped your font-files on mac OSX System – because the hidden files are uploaded too.
    …/uploads/avia_fonts/type_fonts/macosx/._codec-pro-bold.ttf etc.

    You can avoid this – there is for example in BetterZip an Option : zip for “PC”

    2nd: your hamburger icon is white on white ground ! – maybe you change it to:

    #top .header_color div .av-hamburger-inner, 
    #top .header_color div .av-hamburger-inner::before, 
    #top .header_color div .av-hamburger-inner::after {
      background-color: #1a63ae;
    }
    #1405842

    Good Advice on the hamburger menu.

    But now I am having issues with the Ajax search, any idea why it’s showing up the way it is?

    • This reply was modified 1 year, 7 months ago by edgeofcinema.
    #1405880

    have you installed an additional plugin? where does the class ci-search comes from?
    that might be the reason.

    #1405933

    Yes, there was another plug-in installed to do a category-based search of services by a third party.

    I’ll check with those developers and see if they can rectify it.

    #1405935

    One more request from the client. They asked if I can make the main navigation buttons stretch across the full width of the screen. Im thinking they want to to be responsive and widen if the screen is wider.

    How can I do this?

    #1405952

    Hi,
    Do you mean the main menu nav bar, with equal space between the menu items, if so try this:

    .responsive #header_main_alternate > .container {
    	max-width: 100%;
    	padding: 0;
    }
    .html_header_top.html_logo_center #top #header_main_alternate .main_menu ul:first-child {
        display: flex;
        justify-content: space-between;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1405957

    Works perfect, thanks.

    I changed the padding to give a bit of room on the left and right edges.

    .responsive #header_main_alternate > .container {
    max-width: 100%;
    padding: 0px 40px 0px 40px;
    }
    .html_header_top.html_logo_center #top #header_main_alternate .main_menu ul:first-child {
    display: flex;
    justify-content: space-between;
    }

    #1405958

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Need a gradient Nav Bar and A solid Logo Area’ is closed to new replies.