Home Forums Basel support forum Simplified header

Simplified header

Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #76324

    gfontain
    Participant

    Hello,

    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.
    #76332

    Artem Temos
    Keymaster

    Hi,

    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

    #76342

    gfontain
    Participant

    Ok but I don’t have child theme… Do I have to create it ?

    #76393

    Artem Temos
    Keymaster

    Yes, you need to set up a child theme to prevent losing changes in the future.

    #76419

    gfontain
    Participant

    It 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.
    #76444

    Hello,

    You need to increase the width of the right column. Navigate to the Theme settings > Header > Header layout http://prntscr.com/ksqo5q

    Best Regards

    #76462

    gfontain
    Participant

    Ok 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 you

    Attachments:
    You must be logged in to view attached files.
    #76483

    Hello,

    Please provide your site admin access.

    Best Regards

    #76511

    gfontain
    Participant

    Hello,

    #76548

    Artem Temos
    Keymaster

    It is because of the following CSS code snippet you added to the Custom CSS area https://gyazo.com/fa81fe638b713102555d1307c5e7fe01

    Regards

    #76564

    gfontain
    Participant

    Yes 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.
    #76566

    Artem Temos
    Keymaster

    Please, remove all your custom CSS code and we will help you align the menu properly.

    #76581

    gfontain
    Participant

    Ok thanks. It’s done.

    #76593

    Artem Temos
    Keymaster

    You still have CSS code that breaks the header layout https://gyazo.com/43bb830d69fb8661a4296155b16f16cb

    #76599

    gfontain
    Participant

    Sorry, now it should be good.

    #76601

    Artem Temos
    Keymaster

    Now set menu align to center in Theme Settings -> Header -> Main menu.

    #76607

    gfontain
    Participant

    I’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.
    #76638

    Artem Temos
    Keymaster

    It is perfectly centered between your logo and right column elements https://gyazo.com/298fef2bf653c575aee5f2c724065fea

    #76644

    gfontain
    Participant

    Yes 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.
    #76651

    Artem Temos
    Keymaster

    Try the following CSS code

    .right-column {
        width: 18%;
    }
    #76654

    gfontain
    Participant

    This 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.
    #76659

    Artem Temos
    Keymaster

    Try to replace it with the following and play with size a bit

    .site-logo, .right-column {
        width: 20%;
    }
    #76666

    gfontain
    Participant

    Ok ! I found the “perfect” size.
    I think we are good ! Thank you very much for your time and patience.

    Have a nice day

    #76673

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 24 posts - 1 through 24 (of 24 total)

The topic ‘Simplified header’ is closed to new replies.