-
AuthorPosts
-
April 4, 2019 at 7:37 am #1086813
Hi Nikko.
Sorry you closed the other thread as I was typing this all out. lolIs it possible to make the header menu are shrink within the container area you provided code for and also make that with rounded corners to fit inside
See imagehttps://pasteboard.co/I8wRs5t.png
See both ends of image
Thanks
See thread https://kriesi.at/support/topic/is-this-possible-4/
April 4, 2019 at 12:34 pm #1087020Hey wealthyone,
Sorry about that and thanks for pointing out the last thread. :)
Add box-sizing: content-box; on the last code I gave, so it should look like:.boxed #wrap_all { border-radius: 20px; border: 5px solid blue; overflow: hidden; margin: 20px auto; box-sizing: content-box; }
then add this css code:
.boxed #wrap_all #header_meta { background-color: black; border-top-left-radius: 15px; border-top-right-radius: 15px; }
Best regards,
NikkoApril 4, 2019 at 12:44 pm #1087026We have to keep you on here. thats great
Just one little quirkhttps://pasteboard.co/I8yWo2m.png
See the corners ( shows on both top corners left and right)
looks like there is an underlying element showing thruApril 4, 2019 at 12:49 pm #1087027Hi wealthyone,
I can’t see this on my end, can you give us a link to your site? so we can try to inspect it.
Best regards,
NikkoApril 4, 2019 at 12:53 pm #1087028Unfortunately it is on a desktop dev site.
All I can do is give you the code so far/* make site transparent to show BG image */
#header .header_bg,
#top #main .container_wrap {
background-color: rgba(255,255,255,0.2);
}
.html_boxed #main {
background-color: transparent;
}/* make header a color */
#top #header_main {
background: #e8e8e8 !important;
}/* Rounded corners on main site */
.boxed #wrap_all {
border-radius: 20px;
border: 5px solid #a9688f;
margin: 20px auto;
box-sizing: content-box;
}/* Rounded corners on Menu Element */
.boxed #wrap_all #header_meta {
background-color: black;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}if this doesnt help then lets leave it for now until I get it up live. A long while yet.
I can then look at that.
Its not a site breaker anywayApril 6, 2019 at 5:01 am #1087670Hi wealthyone,
Thanks, I see you forgot to include overflow:hidden in:
/* Rounded corners on main site */ .boxed #wrap_all { border-radius: 20px; border: 5px solid #a9688f; margin: 20px auto; box-sizing: content-box; }
it should be:
/* Rounded corners on main site */ .boxed #wrap_all { border-radius: 20px; border: 5px solid #a9688f; margin: 20px auto; box-sizing: content-box; overflow: hidden; }
Best regards,
NikkoApril 6, 2019 at 9:40 am #1087732Thanks
Yes somehow that did get left out.
However I added it and refreshed and cleared cache and it is still there.April 6, 2019 at 12:34 pm #1087751Hi wealthyone,
In Enfold > Performance > disable CSS file merging and compression.
Let us know if that helps.
Also, try to check via web inspector and check if #wrap_all gets the overflow hidden value.Best regards,
NikkoApril 6, 2019 at 3:54 pm #1087769Thanks for your continued effort.
You go to great lengths to help.
Turning off CSS file merging and compression. didnt seem to helpHere is an image to show you the Inspect.
https://pasteboard.co/I8T3dAk.jpg
If this is no good then lets leave it til I make it go live and then will come back to you
And thankyou so much for your help.
April 8, 2019 at 4:33 am #1088119Hi wealthyone,
You’re welcome and thanks for your kind words :)
Thanks also for providing screenshot, as you see there .boxed #wrap_all doesn’t have overflow hidden property in it, which means it just gets the cached version.
It’s supposed to have similar properties as the one you put in your Quick CSS.
If you’re using Windows + Chrome, press ctrl + f5 to force the browser to fetch new css.Best regards,
NikkoApril 8, 2019 at 4:45 am #1088122Yes did all the cache clearing etc. Havent rechecked since turning PC off yesterday so will try later..
ThanksApril 8, 2019 at 5:31 am #1088133Hi wealthyone,
Try also deactivating temporarily the caching plugin it might help.
Best regards,
NikkoApril 8, 2019 at 5:44 am #1088135Great Idea
Thankyou for your over delivering of help..
Pity we cant suggest one person to help us always..
But then you will be helping everyone hahaha
thanksApril 8, 2019 at 3:48 pm #1088350Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonApril 11, 2019 at 2:31 pm #1089561Close this one thanks
April 11, 2019 at 7:08 pm #1089681Hi wealthyone,
I’ll be closing this thread then.
Have a great day :)Best regards,
Nikko -
AuthorPosts
- The topic ‘Menu header over lap’ is closed to new replies.