Home › Forums › Basel support forum › Simplified header
Simplified header
- This topic has 23 replies, 3 voices, and was last updated 6 years, 3 months ago by Artem Temos.
-
AuthorPosts
-
September 10, 2018 at 10:54 am #76324
gfontainParticipantHello,
I was wondering if it’s possible to have the simplified header but with id connection for the customer : “Hello, customer id“. Please see attachment header.jpg
Thank you
Attachments:
You must be logged in to view attached files.September 10, 2018 at 11:22 am #76332
Artem TemosKeymasterHi,
By default, this header layout doesn’t have Login/Register link. But you can add it manually placing the following code snippet to the functions.php file in the child theme.
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 ); function basel_custom_header_configuration() { return array( 'container' => array( 'wrapp-header' => array( 'logo', 'main_nav', 'right-column' => array( 'header_links', 'search', 'wishlist', 'cart', 'mobile_icon', ) ) ), ); }
Regards
September 10, 2018 at 11:43 am #76342
gfontainParticipantOk but I don’t have child theme… Do I have to create it ?
September 10, 2018 at 1:31 pm #76393
Artem TemosKeymasterYes, you need to set up a child theme to prevent losing changes in the future.
September 10, 2018 at 2:13 pm #76419
gfontainParticipantIt worked, but the design is not very convincing… please look at the screenshot “header”. How can I do to have the same presentation as the screenshot “header-example” please ?
Thank you
Attachments:
You must be logged in to view attached files.September 10, 2018 at 2:25 pm #76444
Elise NoromitMemberHello,
You need to increase the width of the right column. Navigate to the Theme settings > Header > Header layout http://prntscr.com/ksqo5q
Best Regards
September 10, 2018 at 4:11 pm #76462
gfontainParticipantOk thanks it worked nicely. But there is a little issue. In the classic header, everything is perfect. But in the sticky header, there is a little right space between add to cart icon and the right side off the site (see attachments). Is it possible to add a little css snippet to correct this ?
Thank youAttachments:
You must be logged in to view attached files.September 10, 2018 at 7:02 pm #76483
Elise NoromitMemberHello,
Please provide your site admin access.
Best Regards
September 10, 2018 at 11:57 pm #76511
gfontainParticipantHello,
September 11, 2018 at 6:42 am #76548
Artem TemosKeymasterIt is because of the following CSS code snippet you added to the Custom CSS area https://gyazo.com/fa81fe638b713102555d1307c5e7fe01
Regards
September 11, 2018 at 8:40 am #76564
gfontainParticipantYes indeed, but if I don’t add this snippet, this is the sticky header navigation that is not correctly aligned…
Attachments:
You must be logged in to view attached files.September 11, 2018 at 8:43 am #76566
Artem TemosKeymasterPlease, remove all your custom CSS code and we will help you align the menu properly.
September 11, 2018 at 9:15 am #76581
gfontainParticipantOk thanks. It’s done.
September 11, 2018 at 11:06 am #76593
Artem TemosKeymasterYou still have CSS code that breaks the header layout https://gyazo.com/43bb830d69fb8661a4296155b16f16cb
September 11, 2018 at 11:16 am #76599
gfontainParticipantSorry, now it should be good.
September 11, 2018 at 11:17 am #76601
Artem TemosKeymasterNow set menu align to center in Theme Settings -> Header -> Main menu.
September 11, 2018 at 11:36 am #76607
gfontainParticipantI’m sorry to bother you, but it’s not working. The header is not centered when I click “center”.
Attachments:
You must be logged in to view attached files.September 11, 2018 at 12:56 pm #76638
Artem TemosKeymasterIt is perfectly centered between your logo and right column elements https://gyazo.com/298fef2bf653c575aee5f2c724065fea
September 11, 2018 at 1:13 pm #76644
gfontainParticipantYes but you have a larger screen. On smaller screen it’s not centered. Check the attachment…
Attachments:
You must be logged in to view attached files.September 11, 2018 at 1:27 pm #76651
Artem TemosKeymasterTry the following CSS code
.right-column { width: 18%; }
September 11, 2018 at 1:38 pm #76654
gfontainParticipantThis is the best version from far. It’s working on full width 13 inch screen (see attachment) even if the account name is higher than the wishlist and cart…
But on smaller screen, like 11 inch it’s problematic : see attachment 2 please.
Attachments:
You must be logged in to view attached files.September 11, 2018 at 1:41 pm #76659
Artem TemosKeymasterTry to replace it with the following and play with size a bit
.site-logo, .right-column { width: 20%; }
September 11, 2018 at 2:11 pm #76666
gfontainParticipantOk ! I found the “perfect” size.
I think we are good ! Thank you very much for your time and patience.Have a nice day
September 11, 2018 at 2:30 pm #76673
Artem TemosKeymasterGreat, you are welcome!
-
AuthorPosts
The topic ‘Simplified header’ is closed to new replies.
- You must be logged in to create new topics. Login / Register