-
AuthorPosts
-
April 1, 2016 at 3:59 am #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.
April 1, 2016 at 4:15 am #606454Hi 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.
April 1, 2016 at 4:54 am #606465The 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.
April 2, 2016 at 11:53 am #606940Hey!
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,
IsmaelApril 2, 2016 at 7:27 pm #607015It seems as if this code makes the mobile menu disappear?
ThanksApril 3, 2016 at 4:45 am #607106Hey!
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,
IsmaelApril 6, 2016 at 8:33 pm #609158thanks – 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.
April 6, 2016 at 9:20 pm #609191Hi!
You are kind and thank you for the nice words :) We really appreciate it.
Thanks for using enfold :)
Regards,
Vinay -
AuthorPosts
- The topic ‘Anchor not aligning with color section’ is closed to new replies.