Home › Forums › WoodMart support forum › Center menu on navbar while scrolling
Center menu on navbar while scrolling
- This topic has 27 replies, 2 voices, and was last updated 2 weeks, 6 days ago by Hung Pham.
-
AuthorPosts
-
November 9, 2024 at 12:44 pm #611023
kr.daskalovParticipantI have removed one item from the menu, but when scrolling across the website, it is not centered? How do I fix it?
Attachments:
You must be logged in to view attached files.November 11, 2024 at 1:54 pm #611268
Hung PhamKeymasterHello kr.daskalov,
Thanks for reaching to us and appreciate your patience.
You see the menu is ‘not’ centered because the container of logo is smaller than other so it makes you feel like that. https://prnt.sc/26-Adkw0G8ZX
Kind Regards,
November 11, 2024 at 2:17 pm #611283
kr.daskalovParticipantHi Hung, would you please point me to where I could change these settings?
I looked inside header builder, html blocks and widgets, but I can’t really find this sticky header, that appears on scroll only.Thank you.
November 11, 2024 at 2:39 pm #611288
Hung PhamKeymasterHello kr.daskalov,
Sorry, but your question is a bit unclear to me. Please describe in more details, this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
November 11, 2024 at 4:02 pm #611320
kr.daskalovParticipantWell, you see, the navbar that appears when you are scrolling (sticky navbar) is not the same as when you are at the top of the page, right? How do I access the settings of the sticky navbar? So as to change the logo container width, as you have suggested.
Attachments:
You must be logged in to view attached files.November 12, 2024 at 9:15 am #611502
Hung PhamKeymasterHello kr.daskalov,
Navigate to WoodMart > Header builder > edit default header (highlighted star icon) or you can go through admin bar directly https://prnt.sc/Ct9ehRDvvDV9.
Disable
Sticky header clone
option https://prnt.sc/uKCCAWsUbXg4,Click on the Settings button > turn on
Make it sticky option
https://ibb.co/RQJNRLQ https://ibb.co/yskkxD1Please refer to documentation for more details
https://xtemos.com/docs-topic/woodmart-header-builder/
https://xtemos.com/docs-topic/how-to-enable-sticky-header-option/Regards,
November 12, 2024 at 6:03 pm #611702
kr.daskalovParticipantOk. That would work, but I like how when scrolling, the navbar contains all of the information — the logo, menu and the additional buttons on the right, but in a more compact way and in a single row.
The proposed method would just make the first section sticky, which does not contain menu navigation.
Isn’t there a way to just edit the horizontal spacing of the sticky header?
Thank you for your assistance.
November 13, 2024 at 10:21 am #611810
Hung PhamKeymasterHello kr.daskalov,
Provide me with the mockup of the styles that you try to achieve and we’ll send proper instructions if it’s possible.
Regards,
November 13, 2024 at 3:02 pm #611900
kr.daskalovParticipantHi,
Here is a graphic explanation of what I want.
Attachments:
You must be logged in to view attached files.November 14, 2024 at 8:22 am #612041
Hung PhamKeymasterHello kr.daskalov,
Thanks for details.
Please edit the Main header layout and select the second one and double check https://ibb.co/r3Sn2JH
You can read more about the layouts here https://xtemos.com/docs/woodmart/header-builder/header-rows-flex-layouts/
Regards,
November 14, 2024 at 10:44 am #612082
kr.daskalovParticipantThat didn’t do it. Is it possible that the compressed sticky navbar (while scrolling) just has different settings from the main fixed one on the top?
Attachments:
You must be logged in to view attached files.November 15, 2024 at 12:09 pm #612359
Hung PhamKeymasterHello kr.daskalov,
Can you please increase width of sticky logo and check again? https://ibb.co/VvyVH3x
Regards,
November 15, 2024 at 6:17 pm #612516
kr.daskalovParticipantIncreasing the width of the sticky logo does not change anything as well.
By default it was at 200px, but in the browser it shows as 120px.
Changing it, doesn’t do anything. Cleared the cache and everything.Attachments:
You must be logged in to view attached files.November 17, 2024 at 3:08 pm #612736
Hung PhamKeymasterHello kr.daskalov,
Thanks for your patience.
To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.
Best Regards,
November 18, 2024 at 11:29 am #612883
kr.daskalovParticipantHi, I need an email, to create temporary login credentials.
November 18, 2024 at 7:22 pm #613106
Hung PhamKeymasterHello kr.daskalov,
You can use any random email to create the account. Then share the information here, using the private content field.
Regards,
November 21, 2024 at 10:34 am #614106
kr.daskalovParticipantHere it is.
November 22, 2024 at 2:00 pm #614660
Hung PhamKeymasterHi kr.daskalov,
Thanks for details.
Would you mind if I deactivate extra plugins for testing? Please confirm me back.
Regards,
November 22, 2024 at 3:51 pm #614735
kr.daskalovParticipantSure, go ahead.
Bear in mind that the website is part of a multisite structure. I have provided you super admin privileges for the Network, but check if you can indeed network deactivate and activate plugins.
November 23, 2024 at 5:28 pm #615111
Hung PhamKeymasterHello kr.daskalov,
Thanks for your patience.
You can create a dev site – also called a Staging platform where you can test issues, enable/disable features/plugins thus such changes will affect the main site. The below article will help you to create it:
https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
If you have any questions please feel free to contact us.
Kind Regards,
November 23, 2024 at 5:32 pm #615113
kr.daskalovParticipantI don’t want to create a staging website currently. I just want to center the menu on the scrolling navigation bar.
November 25, 2024 at 6:46 pm #615727
Hung PhamKeymasterHello kr.daskalov,
Thanks for your patience.
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
.whb-sticked .wd-logo img[width]:not([src$=".svg"]) { max-width: 100% !important; }
Kind Regards,
- This reply was modified 3 weeks, 5 days ago by Hung Pham.
November 26, 2024 at 4:41 pm #616167
kr.daskalovParticipantThis made the sticky logo bigger, but no effect on the menu. This is quite the puzzle.
Attachments:
You must be logged in to view attached files.November 27, 2024 at 8:05 pm #616815
Hung PhamKeymasterHello kr.daskalov,
As I described above. 3 columns’s width are flexible, which means it depends on content itself.
But inside the container, the menu already centered. Do you want to set fixed for left and right columns to make it looks centering for menu?
Kind Regards,
November 28, 2024 at 12:24 pm #617040
kr.daskalovParticipantYes, I would like to set fixed left and right columns, to make it centred relative to the content of the website (not centered within the navigation bar).
November 29, 2024 at 11:52 am #617558
Hung PhamKeymasterHello kr.daskalov,
Please add above Custom CSS code to Theme Settings > Custom CSS > Custom CSS for Desktop:
.whb-sticked .whb-col-left, .whb-sticked .whb-col-center, .whb-sticked .whb-col-right{ width: 33.33%; }
Regards,
December 2, 2024 at 10:16 am #618254
kr.daskalovParticipantYes! That finally did it! Thank you for your patience and support!
December 2, 2024 at 4:23 pm #618539
Hung PhamKeymasterHello kr.daskalov,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
Regards,
-
AuthorPosts
The topic ‘Center menu on navbar while scrolling’ is closed to new replies.
- You must be logged in to create new topics. Login / Register