Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #606451

    http://www.secretstash.com/home

    I’ve put the logo into the menu and set the main logo not to display using css.
    I’ve tried every way possible to remove the logo container – the only way that I could get to work was to use this code:
    #header_main .container { height: 0px;}

    However, when I use that code and click on About Us or Menu it scrolls down to the corresponding color section ID but it doesn’t scroll down far enough – it stops before the menu even recognizes that it’s in the color section and the menu item doesn’t get underlined. It seems that the CSS i’m using to get rid of the logo container is causing this error. Is there another way to remove the logo container? I’ve tried every combination I can think of.

    • This topic was modified 8 years, 7 months ago by ewingmh.
    #606454

    Hi ewingmh!

    Making changes to the header height or adding margin and paddings will affect the scroll position. Please remove the CSS
    #header_main .container { height: 0px;}

    Instead you can use

    #header_main .logo, .logo a { 
    display:none!important;
    }

    If the above don’t work please share the link where we can inspect the element so we can provide you with alternate CSS to hide the logo.

    Best regards,
    Vinay

    • This reply was modified 8 years, 7 months ago by Vinay.
    #606465

    The link is at the top of the original post. But here it is again… http://www.secretstash.com/home

    I’ve already used the code you suggested. I’m trying to remove the entire logo container. If I use just the code you suggest then it leaves an 88px tall empty container.

    I’ve given you admin login below. I want the top of the red logo to remain aligned with the red border as it is now.

    Thanks!

    • This reply was modified 8 years, 7 months ago by ewingmh.
    #606940

    Hey!

    We added this code in the functions.php file:

    add_action('init', 'ava_action_init');
    function ava_action_init() {
        global $avia;
    	$avia->options['avia']['header_custom_size'] = 10;
    	return $avia;
    }

    This will override the default header height and main containers offset value.

    Best regards,
    Ismael

    #607015

    It seems as if this code makes the mobile menu disappear?
    Thanks

    #607106

    Hey!

    The mobile menu is gone because of the css code that we added to hide the logo container. Replace the code in the Quick CSS field with this:

    @media only screen and (min-width: 768px) {
    #header .av-logo-container {
        display: none;
    }
    }

    Regards,
    Ismael

    #609158

    thanks – again you’ve impressed me and gone above and beyond normal support. For those of you reading this – if you’re having this issue – I had to adjust the 10 in the code above to -120 to get the active page to highlight correctly…

    • This reply was modified 8 years, 7 months ago by ewingmh.
    #609191

    Hi!

    You are kind and thank you for the nice words :) We really appreciate it.

    Thanks for using enfold :)

    Regards,
    Vinay

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Anchor not aligning with color section’ is closed to new replies.