Home › Forums › Space themes support forum › Logo in header not centered (horizontal)
Logo in header not centered (horizontal)
- This topic has 6 replies, 2 voices, and was last updated 15 hours, 16 minutes ago by Christian |cswebdesigns.
-
AuthorPosts
-
April 17, 2024 at 12:46 pm #557951
Christian |cswebdesignsParticipantHello,
how can I center the logo in the header?
See attached screenshots of the settings. If I change the Row flex layout to the “flex – centered – flex” the menu item Search is right next to the centered logo.
Kind regards,
ChristianAttachments:
You must be logged in to view attached files.April 23, 2024 at 12:01 pm #559775
Luke NielsenKeymasterHello,
Here is our article with more details about those settings, please check – https://xtemos.com/docs-topic/header-rows-flex-layouts-2/
In case you have additional questions, let me know.
Kind Regards
April 23, 2024 at 2:27 pm #559831
Christian |cswebdesignsParticipantI checked the documentation. After reading that, it seems as a bug to me. Or why is the search menu item directly on the right from the logo and all other menu items are right aligned?
April 25, 2024 at 5:00 pm #560751
Luke NielsenKeymasterHello,
The thing is that you use a menu with 1 item to show the “My Account” so the entire menu is stretched to the full width to align internally.
So I suggest you define the “Account” element with the “Only text” value – https://prnt.sc/Ppe9aSSj01mW, either use the code below to override the styles.
.xts-header-main .xts-nav-wrapper { flex: none; }
Kind Regards
- This reply was modified 4 days, 16 hours ago by Luke Nielsen.
April 26, 2024 at 10:45 am #560952
Christian |cswebdesignsParticipantHey Luke,
yes, in the meanwhile it was only the account – true. I changed it to your recommended way and it works.
I only have the font color problem on the search and My Account on the default header (Header Overlap – start page and everything else) and the shop page (Main Header):
This is accorded to the changes here: https://xtemos.com/forums/topic/how-to-change-font-color-of-the-header-when-hovering-the-section/
See loom and temporary login in extra information, please.
Could you please provide a css that it looks fine on both headers? 🙂
April 29, 2024 at 4:39 pm #561741
Luke NielsenKeymasterHello,
Add the below code for help – https://prnt.sc/ag7inhaxsfVN:
body:not(.single-product, .woocommerce-shop) .xts-header:not(.xts-sticked):hover .xts-header-el-label { color: #1a1a1a } body:not(.single-product, .woocommerce-shop) .xts-header.xts-sticked .xts-header-el-label { color: #1a1a1a }
Result – https://gyazo.com/d97ed6c841db3a6ace2ce59e0d4e5d5e
Kind Regards
April 29, 2024 at 6:19 pm #561790
Christian |cswebdesignsParticipantThank you, that works fine!
-
AuthorPosts
Tagged: header
- You must be logged in to create new topics. Login / Register