Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #219050

    Hi there,

    I have managed to make a Kriesi navigation using a header.php code I found on this support site. Now I want to position the language icons above the navigations items (centred). How and where can I replace them?

    I want to make the height of the navigation bar smaller too. Found this code. Worked fine with fixed header, not with fixed header with social media icons: #header_main .container, .main_menu ul:first-child > li a{ height:88px; line-height:88px; }. How do I adjust this height in the fixed header with social media icons settings? If you look at http://www.cadeaugolf.nl you know what I mean.

    Thanks again for your help.

    Regards,
    David

    #219093

    Hi David!

    You can add following code to Quick CSS in Enfold theme options under Styling tab to adjust the height of the header

    .social_header #header_main .container, .social_header .main_menu ul:first-child > li a {
    height: 80px;
    line-height: 80px;
    }

    Do you mind creating a temporary admin login so i can help you change the position of flags?

    Cheers!
    Yigit

    #219268
    This reply has been marked as private.
    #219333

    Hi!

    I can’t login to the website. It’s not loading properly on my end. Please try this one:

    .social_header #header_main .container, .social_header .main_menu ul:first-child > li a {
    height: 80px !important;
    line-height: 80px !important;
    }
    
    #header_main .sub_menu {
    left: 50px;
    position: relative;
    top: 36px;
    }

    Best regards,
    Ismael

    #219344
    This reply has been marked as private.
    #219477

    Hi David!

    Changes are done, please review your website. You can find the custom CSS code i added in the bottom of Quick CSS section

    Cheers!
    Yigit

    #219579

    Hi Yigit,

    Looking good!

    We are almost there: because of the minus number (.avia_wpml_language_switch { top: -30px; } the language flags don’t show on smartphones. Will it be possible to still show them? Maybe when we remove the grey section above the white navigation section the problem is solved? I think the flags show up below this grey section on smartphones. But that’s just my feeling. :-)

    Regards,

    David

    #219613

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .avia_wpml_language_switch {
    top: 35px;
    right: 20%;
    }}

    Regards,
    Yigit

    #219636

    Think the first line isn’t correct (red in custom.css). Doesn’t do anything in quick.css.

    @media only screen and (max-width: 767px) {
    .avia_wpml_language_switch {
    top: 35px;
    right: 20%;
    }}

    Regards,

    David

    #219800

    Hi!

    Use this instead:

    @media only screen and (max-width: 767px) {
    .responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul {
    float: left;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    position: static;
    }
    }

    Best regards,
    Ismael

    #219879

    Still doesn’t change anything. Even when I play with the variables in this code.

    Regards,

    David

    #220589

    Hi!

    Please review your website now. I just logged in and added !important value to top: 35px; and it started to work.

    Best regards,
    Yigit

    #220602

    Hi Yigit,

    It works indeed. :-)

    However it doesn’t show the google social icon anymore on smartphone (landscape). Will it be possible to centre the flag in the grey bar above? Where can I adjust that?

    Regards,

    David

    #220609

    Hi!

    Should be fixed now. Please flush browser cache on your smartphone and check once again. I added custom CSS code to Quick CSS section

    Cheers!
    Yigit

    #220611

    You are the man! Thanks.

    Last question: the grey bar on top of the page. Where can I remove it? It has no use now.

    Regards,

    David

    #220616

    Hi David!

    Please add following code to Quick CSS as well

    #header_meta { display: none; }

    Best regards,
    Yigit

    #220621

    Yes! Thanks for your support Yigit.

    Regards,

    David

    #220663

    Hey!

    You are welcome David, glad we could help :)

    Regards,
    Yigit

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘language icons centred above navigation menu & adjusting height navigation’ is closed to new replies.