- This topic has 16 replies, 3 voices, and was last updated 1 year, 9 months ago by Fernando.
-
AuthorPosts
-
July 14, 2022 at 12:24 pm #2282924Leonardo
Hello how are you?
I had to make some corrections to the header of the site I’m looking for parts and I’m, again, finding it difficult to adjust the header on mobile.
The elements are there, but unconfigured. The way I want to leave them, snug next to each other, is:
hamburger menu / logo / user and cart
Is it possible to help me?
I am sending the link and data for access.
July 14, 2022 at 12:52 pm #2282954YingStaffCustomer SupportHi there,
The URL you attached doesn’t link us to the login page, can you check?
July 14, 2022 at 2:15 pm #2283009LeonardoSorry
July 14, 2022 at 2:16 pm #2283010LeonardoSent again!
July 14, 2022 at 6:31 pm #2283084Fernando Customer SupportHi Leonardo,
In your Block Element, set the view to mobile, and try setting the Container Width of the columns to 50% or less. They’re currently set to 100%: https://share.getcloudapp.com/kpu8lJyR
Try setting the horizontal spacing through the Grid’s Block settings instead as well: https://share.getcloudapp.com/o0uGJRk2
Kindly let us know how it goes.
July 15, 2022 at 2:19 pm #2283971LeonardoFernando, you again =D
It’s true, I had forgotten about those other adjustments.
I did and now I would need to change them, leaving:
menu / logo / icons
July 15, 2022 at 6:16 pm #2284046YingStaffCustomer SupportTry to add this CSS:
#mobile-header button.menu-toggle { order: -1; }
July 16, 2022 at 1:45 pm #2284741LeonardoThanks!!!
July 16, 2022 at 2:08 pm #2284762LeonardoHello, I would like to try the topic to see is it possible to throw the logo to the left and the menu to the right to change the image I am sending)
https://formuladiecast.com.br/wp-content/uploads/2022/07/stick_menu.png
NOTE: this setting will only be for the fixed menu desktop.
Login and password also sent.
July 17, 2022 at 4:16 pm #2285507YingStaffCustomer SupportAdd this CSS:
@media (min-width: 769px) { #sticky-navigation .navigation-branding { position: relative; transform: none; left: auto; order: -1; margin-right: auto; } }
July 18, 2022 at 6:09 am #2286081LeonardoHello, ying!
It almost did… However, the logo is on the right and I would like to place it exactly the other way around, that is, on the left side of the menu.
https://drive.google.com/file/d/1zKqla7-6Iw3jqAXzbiqgMkZV262-PQf8/view?usp=sharing
July 18, 2022 at 6:20 am #2286089LeonardoA second question…
How do I change the css from the sticky menu to links when “mouse over” and “links active”?
I was able to change only the “default” color.
July 18, 2022 at 9:54 am #2286497YingStaffCustomer SupportI’ve updated the CSS here:https://generatepress.com/forums/topic/again-help-with-mobile-header/#post-2285507
For the hover color, try this:
.main-navigation.navigation-stick .main-nav ul li:not([class*="current-menu-"]):hover > a { color: black; }
July 18, 2022 at 8:40 pm #2286857LeonardoThank you, Ying.
Now the following remains:
modify the color of the active link in the sticky menu
Thank you very much!
July 18, 2022 at 8:48 pm #2286859Fernando Customer SupportHi Leonardo,
You can try this CSS:
nav#sticky-navigation.is_stuck .main-nav ul li.current_page_item a { color: rgba(255,255,255,0.6) }
Hope this helps!
-
AuthorPosts
- You must be logged in to reply to this topic.