Home › Forums › Basel support forum › Custom header
Custom header
- This topic has 22 replies, 2 voices, and was last updated 6 years, 11 months ago by Artem Temos.
-
AuthorPosts
-
November 29, 2017 at 3:32 am #26113
luvaloParticipantHello Support team,
First of all, thank for great theme and I’m glad to work with it.
I’m trying to change the header, but having trouble, take a look at the screenshot, i have described it https://www.screencast.com/t/L5I0uLN4rMCg
I want the header same like this: https://www.screencast.com/t/d4tlHCoWR
Please guide for me, I have read the document but it does not seem to help this part.
Thanks.November 29, 2017 at 7:34 am #26133
Artem TemosKeymasterHello,
We are glad to know that you considered using Basel for your web-site. I hope you will be happy with it.
1. Try to add this code snippet to the functions.php file in the child theme to change it
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 ); function basel_custom_header_configuration() { return array( 'container' => array( 'wrapp-header' => array( 'logo', 'widget_area', 'right-column' => array( 'search', 'wishlist', 'cart', 'mobile_icon', ) ) ), 'navigation-wrap' => array( 'container' => array( 'categories_menu', 'main_nav' ) ) ); }
2. Try to add the following code snippet to the Custom CSS area in Theme Settings
.secondary-header .mega-navigation { width: 20%!important; }
3. Disable this menu from the top bar in Appearance -> Menus -> Manage Locations.
4. Add both search and your custom HTML to the header widgets area in Appearance -> Widgets.
5. Please, provide us your website link so we can take a look at it.
Kind Regards
XtemosNovember 29, 2017 at 9:52 am #26148
luvaloParticipantHello,
Thanks for your answer.
1– Not OK
this is what i want: https://www.screencast.com/t/hhhxfLjEjZ
This is the result after adding the code you gave: https://www.screencast.com/t/ZfUtjiaDL
2– OK
3– OK
4– OK
5– I want to add brand logo in the top, full width same like this https://www.adayroi.com/
Thank for your help!November 29, 2017 at 10:16 am #26151
Artem TemosKeymasterWe need to see your website first.
November 29, 2017 at 11:38 am #26169
luvaloParticipantI just installed it on localhost, just installed your Basel theme, did not edit so you are not difficult to imagine. If you want me to give you a purchase code, I can give it for you
November 29, 2017 at 12:17 pm #26177
Artem TemosKeymasterSorry, but we can’t check it without looking on your website.
November 29, 2017 at 12:50 pm #26192
luvaloParticipantSo, there is no other way? I want to finish editing under localhost before uploading it to hosting. I have described the idea very carefully. Do you not understand? If you think the code you provided works correctly, please take some screenshots for the test. Your theme looks great, but the header is hard to change..
November 29, 2017 at 12:54 pm #26193
Artem TemosKeymasterI understand, but it is really not possible to help you modify the header if we don’t see how it currently looks like. You want to have a custom header that did not exist in our theme at all and you were not able to see it on our demo. So we are trying to help you to achieve it but we need to see your website.
Regards
November 29, 2017 at 2:29 pm #26211
luvaloParticipanthere is link demo my website: http://demo.namvietnet.com.vn/test/
now, please guide me. Thank a lot!November 29, 2017 at 2:46 pm #26219
Artem TemosKeymasterBut it seems that you didn’t apply any of the things we wrote you initially.
November 29, 2017 at 3:02 pm #26232
luvaloParticipantOk, Please try again.
That is the result after adding the code you gave. Now I’m just interested in how to change the location of megamenu and search: https://www.screencast.com/t/hhhxfLjEjZ
thanks a lot!November 29, 2017 at 3:22 pm #26236
Artem TemosKeymasterTry to add the following code snippet to the Custom CSS area in Theme Settings
.header-categories .mega-navigation { display: inline-block; margin-right: 20px; } .header-categories .mega-navigation .menu-opener { padding-right: 40px; } .header-categories .main-nav.basel-navigation { display: inline-block; } header.header-categories .main-nav .menu li.menu-item-design-full-width>.sub-menu-dropdown { margin-top: 0; } .header-categories .main-nav .menu > li > a { height: 63px; line-height: 63px; } .header-categories .navigation-wrap > .container { height: 63px; }
And place your search widget to the header area in Appearance -> Widgets.
November 29, 2017 at 3:51 pm #26244
luvaloParticipantGood job, but the when hover “Browse Categories” does not display the drop down list, how to fix it
Thank.November 29, 2017 at 3:55 pm #26248
Artem TemosKeymasterYou need to specify your categories menu in Theme Settings -> Header.
November 29, 2017 at 5:21 pm #26266
luvaloParticipantI have selected the Categories menu in the Theme setting -> header ( https://www.screencast.com/t/TlHp2ptE ) but it still does not show up when hover, the problem may be due to CSS?
November 29, 2017 at 6:42 pm #26276
Artem TemosKeymasterTry to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
.navigation-wrap .mega-navigation.show-on-hover:hover>.categories-menu-dropdown { visibility: visible; opacity: 1; top: 100%; } .mega-navigation { background-color:#1aada3 ; }
December 1, 2017 at 7:41 am #26456
luvaloParticipantHello,
Thanks for the help, it is very helpful!
Now I have a new problem with the header, I describe it in the screenshot here: https://www.screencast.com/t/ePTyq7Jchl
demo site: http://demo.namvietnet.com.vn/test/
Thanks a lot and have a nice day!December 1, 2017 at 10:56 am #26506
luvaloParticipantWhy you don’t answer my topic, while you still answer other topics???
December 1, 2017 at 12:22 pm #26545
Artem TemosKeymasterWe are working on your request. Could you please provide us your admin access?
December 1, 2017 at 1:04 pm #26560
luvaloParticipantOf course, this is admin info
December 1, 2017 at 2:21 pm #26580
Artem TemosKeymasterTry to add the following snippet also
body .topbar-content, body .top-bar-left { display: block; } body .topbar-content:before { display: none; } body .header-categories .widgetarea-head > div { display: inline-block; } body .header-categories .widgetarea-head .vc_row { margin: 0; }
Unfortunately, we can’t place the categories menu to the sticky header with CSS.
December 1, 2017 at 2:55 pm #26596
luvaloParticipantOh great, anyway thank you very much, you can close this topic, I will vote for you 5 stars for customer service. Keep up the good work.
December 1, 2017 at 10:44 pm #26650
Artem TemosKeymasterThank you very much for the review!
Regards
-
AuthorPosts
Tagged: header
The topic ‘Custom header’ is closed to new replies.
- You must be logged in to create new topics. Login / Register