-
AuthorPosts
-
June 19, 2018 at 3:11 am #974590
I have my bottom navigation menu set up in the socket, but haven’t been able to successfully center align it. I also have the copyright line set up in the same area, but it’s above the menu, and I’d like to put it under the menu.
Please advise how I can do this. Thank you.June 19, 2018 at 12:10 pm #974731Hey Moondreamer21,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaJune 19, 2018 at 7:51 pm #974899Sure I’ll share the link in the private content so you can see it.
Here’s some of the socket css I’ve added as additional (may need to change some of this?).
I’d also like the background image in the socket to expand and reach across the site 100% and actually have the irregular edge (it’s a .png with a transparent background) overlay the footer above it. Any tips on how to do that would be appreciated as well.
.socket_color .socket_bg {
background-size: 100%;
}.socket_bg {
background-size: 100%;
}.copyright { width: 100%; text-align: center; }
.sub_menu_socket {
width: 100%; text-align: center;
}#socket .sub_menu_socket {
width: 100%; text-align: center;
}#socket .sub_menu_socket a {
width: 100%; text-align: center;
font-size: 14px;
}#socket {
width: 100%;
}June 20, 2018 at 10:15 am #975182Hi Moondreamer21,
Can you try adding this css code in QUick CSS (located in Enfold > General Styling):
#socket .container { display: flex; flex-direction: column-reverse; } #socket .sub_menu_socket ul { margin-bottom: 8px; } #socket .sub_menu_socket li { float: none; display: inline-block; }
Hope it helps :)
Best regards,
NikkoJune 20, 2018 at 6:54 pm #975421the menu in the footer is overlapping on mobile, 400px, is there any way to center align it?
June 21, 2018 at 7:15 am #975670Hi TrangVu,
Can you try to use this code for your site?
#socket .container { display: flex; flex-direction: column-reverse; } #socket .social_bookmarks li, #socket .sub_menu_socket li { float: none; display: inline-block; } #socket .sub_menu_socket, #socket .copyright { text-align: center; } #socket .social_bookmarks { margin-left: 0; text-align: center; }
Hope it helps.
Best regards,
NikkoJune 21, 2018 at 2:39 pm #975801I see that my menu links in the socket also overlap on mobile. Is there a way to keep them all on the same line? Here is all the socket css I have right now… (I’ll link to my site in the private section as well). I would also like to know how I can get the background image in my socket to stretch the entire width of the page?
.copyright { width: 100%; text-align: center; }
.sub_menu_socket {
width: 100%; text-align: center;
}#socket .sub_menu_socket a {
width: 100%; text-align: center;
font-size: 14px;
}#socket .container {
display: flex;
flex-direction: column-reverse;
}#socket .sub_menu_socket ul {
margin-bottom: 8px;
}#socket .sub_menu_socket li {
float: none;
display: inline-block;
}June 21, 2018 at 3:08 pm #975821Hi Moondreamer21,
To make the background size cover the whole width, add this css code:
#socket { background-size: cover; }
As for making it one line in mobile, it doesn’t seem possible (if you want the text to be still readable) I think the minimum based on the number of menu items you have is atleast 3 lines for it, which is adjusting the font size smaller. Would you be okay with this option? I also don’t see the menu links overlap, can you post a screenshot so I can see how it looks on your end.
Best regards,
NikkoJune 21, 2018 at 5:20 pm #975872Thanks Nikko, I can live with the arrangement of the socket menu on mobile as they are.
Another question I had though, was that I want the irregular top edge of the dirt background in the socket (a transparent .png) to overlap the leather tooling background of the footer area above it.
I’d like the same effect for the logo area purple/pink gradient image which has a grungy, irregular edge on the bottom – would like that to overlap the slider image below it.
Can I get help with code for bot of these things? Thank you!June 22, 2018 at 9:51 am #976187Hi Moondreamer21,
Yes, try replacing this code I gave:
#socket { background-size: cover; }
to:
#socket { padding-top: 30px; margin-top: -30px; background-color: transparent; background-size: cover; }
Hope this helps :)
Best regards,
NikkoJune 22, 2018 at 11:58 pm #976512Ooooooohhhh, that’s perfect Nikko – thanks so much! Do you have code to give the same effect to the purple background image I have in the header with the irregular grungy edge on the bottom?
June 23, 2018 at 8:55 am #976852Hi Moondreamer21,
Glad we could help :)
Can you try adding this css code:.header_color .header_bg { background-size: cover; }
Best regards,
NikkoJune 24, 2018 at 12:40 am #977104Thanks! That did the trick once I removed the hex code background color from the logo area settings.
Although now it seems that the background image is REALLY stretched out – the grungy irregular edge is blurry.
I’ll attach my site link and all my additional css in the private section in case there is something conflicting?
I appreciate your help!June 26, 2018 at 3:21 am #977752Hi,
The current background image is quite small for the actual header container. Please use a larger image or adjust the size based on the standard screen resolutions.
// https://www.w3schools.com/browsers/browsers_display.asp
The size should be at least 1920x225px.
Best regards,
IsmaelJune 26, 2018 at 3:18 pm #977973thank Ismael but it’s still not what I want, mine was 2000×650 px but it’s still being cropped and I’m using the resolution that you provided here’re the screenshot I’m talking about…https://imgur.com/rYu4EIh and https://imgur.com/rYu4EIh
the theme must have the problem for a fullwidth banner.June 27, 2018 at 4:49 pm #978486Hi,
@TrangVu: I was referring to the OP’s header layout. Please create your own thread. Place the site url and login credentials in the private field.
Best regards,
IsmaelJune 28, 2018 at 1:48 pm #978886I am still having the same problem, it’s actually the background image in the logo area (not header – I mis-stated that before) that is getting stretched, no matter what size it is – which makes the jagged, lower transparent edge look blurry.
I am about ready to pull my hair out in frustration over this.
I’ll include my site info in the private info, would appreciate getting this fixed ASAP, thanks for the help!June 29, 2018 at 11:45 am #979290Hi,
The size of the background image (1280x130px) is still smaller than the actual logo/header container. It isn’t blurry when you check the site on smaller screens. Please upload a larger image (1600x200px).
Best regards,
IsmaelJuly 1, 2018 at 1:26 am #979661Hi again. No matter what the background image size, it was still getting stretched and cut off by 400px on each side, but I managed to figure that issue out on my own.
The issue that still remains is that when at the top of my page, there is white color behind the grungy purple logo background image… it’s transparent when I scroll down but the white is there when at the top of the page.
I can change the white COLOR of this background, when I select the SOCKET color in the Settings, strangely enough, but no matter what I do – like delete the color from that setting or add custom css, I can’t get that background color to be transparent when I’m at the top of the page – spent hours on this today – please help!
July 2, 2018 at 1:34 am #979924Hi,
Please adjust the top padding to remove the white background :)
.html_header_top.html_header_sticky #top.home #wrap_all #main { padding-top: 55px!important; }
Note this code affects only the home pages.
Best regards,
VinayJuly 2, 2018 at 5:27 am #979931THANK YOU! What would be a good way to set this code up on other pages? Most pages/posts will have it… but there will be a handful of single column sales pages that won’t.
July 2, 2018 at 7:31 am #979963Hi,
Remove the #top.home selector if you want it to be applied to the rest of the page.
.html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 55px!important; }
Best regards,
IsmaelJuly 2, 2018 at 6:53 pm #980210Thanks, I’ll try that – I see that the white is still sticking out under the purple grunge background image on mobile. Is there code to add to address that?
Actually, now that I refresh, the purple grunge background image isn’t coming up at all now on mobile – please help!?- This reply was modified 6 years, 4 months ago by Moondreamer21.
July 4, 2018 at 12:38 am #980825Hi,
This css code should reveal the background image on mobile view.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .header_color .header_bg { background: transparent url(//www.new.barrelracingtips.com/wp-content/uploads/2018/06/experiment.png) bottom center no-repeat scroll; } .header_color .header_bg { background-size: cover; } .html_header_top.html_header_sticky #top #wrap_all #main { margin-top: -50px; } }
Best regards,
IsmaelJuly 5, 2018 at 2:05 am #981398Thank you. That did the trick, I appreciate it. Was still having some issues with that part, but I opened a new thread for it to stay on one topic. Thanks again.
July 5, 2018 at 12:48 pm #981560Hi,
Awesome! Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
Ismael -
AuthorPosts
- The topic ‘How to Center Footer Nav Menu with Copyright Below?’ is closed to new replies.