Home Forums Basel – Premium Template Strange black strip in header

This topic contains 21 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 3 months, 1 week ago.

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #130787

    fiodor
    Customer

    Hi,

    I’m having a strange bug in header https://screencast.com/t/YSFUlgjxc. It’s a black strip and don’t know from where it came. See video here https://screencast.com/t/eiOqX7E44F6

    Using Chrome on mac 75.0.3770.100 (Official), (64 bit). In Safari it’s ok and Mozilla is not ok too.

    Please help to fix it

    Private Content Hidden
    #130802

    Hello,

    Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, if the problem remains, leave the plugins not activated for us to check

    Best Regards

    #130809

    fiodor
    Customer

    Just figured out that the problem being caused by sticky footer feature. When I turn it off the bug is gone.

    #130810

    fiodor
    Customer

    And I’ve tried to deactivate other plugin and switch to the parent theme – nothing works.

    #130831

    Hello,

    You need set the background on the header https://gyazo.com/6cfbcc7110dc3f5c8f03518816340056

    Now your header is transparent. You can do it in the Theme Settings > Header > Appearance http://prntscr.com/o92ayr

    Best Regards

    #130883

    fiodor
    Customer

    Wonderful, thank you!

    How do I make now the main page header only transparent like in your demo https://demo.xtemos.com/basel/home-fashion-new/?

    #130945

    fiodor
    Customer

    Another thing:
    Doesn’t work the feature – when text in the header is empty field in theme settings is empty and I’m trying to use the widget for this – https://screencast.com/t/MDJiPxZc33K

    It doesn’t appear at all

    #130958

    Hello,

    What do you want to add to the Header? HTML code would not work.

    Best Regards

    #130962

    fiodor
    Customer

    1 – How do I make now the main page header only transparent like in your demo https://demo.xtemos.com/basel/home-fashion-new/?

    2 – I want to add the same text as I have now in top left bar, but via widget (in order to be translatable with wp multilang plugin)

    #130974

    Hello,

    The header layout which you have set does not assume the header widget. You need to set Bas, Logo Center or Menu in Top bar layout.

    In order to make the header transparent, enable the option in the Theme Settings > Header > Appearance http://prntscr.com/o9hvk7

    Best Regards

    #130992

    fiodor
    Customer

    Trying to change header settings but nothing works. Are you working there?
    I didn’t touch a think but it’s seems to be broken now

    #131036

    Hello,

    I did not touch anything. Just set the configuration which you have before.

    Best Regards

    #131798

    fiodor
    Customer

    Don’t know why I can’t post a new topic so I’m writing it here.

    1 – My ajax cart doesn’t work anymore. Page reloads after I put something in basket. The ajax hsop is ON in Theme settings. Could you take a look, please?

    2 – where i can find the text of this placeholder to be translated https://screencast.com/t/7htT0wnrx? Loco translate does not translate it at all.

    Thanks

    Private Content Hidden
    #131811

    Hello,

    Please deactivate all the plugins not related to the theme and check the issue with typography.

    Please follow the steps to get the fix:

    1. Please upload the file from this link: https://drive.google.com/file/d/17pRyCpJdReyl_wWyoTduwTUoQQqLkvGT/view?usp=sharing

    2. Upload it into this folder deleting the previous one wp-content\themes\basel\languages\basel.pot

    3. Find this file wp-content\themes\basel\inc\template-tags.php and replace the code shown on the screen: http://prntscr.com/o2s9ji

    basel_header_block_search_extended()
    
    switch ( $search_post_type ) {
    	case 'product':
    		$placeholder = esc_attr_x( 'Search for products', 'basel' );
    		$description = esc_html__( 'Start typing to see products you are looking for.', 'basel' );
    	break;
    
    	case 'portfolio':
    		$placeholder = esc_attr_x( 'Search for projects', 'basel' );
    		$description = esc_html__( 'Start typing to see projects you are looking for.', 'basel' );
    	break;
    
    	default:
    		$placeholder = esc_attr_x( 'Search for posts', 'basel' );
    		$description = esc_html__( 'Start typing to see posts you are looking for.', 'basel' );
    	break;
    }
    
    switch ( $search_post_type ) {
    	case 'product':
    		$placeholder = esc_attr_x( 'Search for products', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see products you are looking for.', 'basel' );
    	break;
    
    	case 'portfolio':
    		$placeholder = esc_attr_x( 'Search for projects', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see projects you are looking for.', 'basel' );
    	break;
    
    	default:
    		$placeholder = esc_attr_x( 'Search for posts', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see posts you are looking for.', 'basel' );
    	break;
    }

    Synchronize the translations.

    Best Regards

    #131816

    fiodor
    Customer

    Please deactivate all the plugins not related to the theme and check the issue with typography.

    You mean with ajax, the first one?

    #131819

    fiodor
    Customer

    When I try to edit the file wordpress gives me an error:
    https://screencast.com/t/d7bCG6IMQE
    “The site has a technical problem. Please check your admin email inbox for further instructions.”

    I’m replacing the code you highlighted by the code

    basel_header_block_search_extended()
    
    switch ( $search_post_type ) {
    	case 'product':
    		$placeholder = esc_attr_x( 'Search for products', 'basel' );
    		$description = esc_html__( 'Start typing to see products you are looking for.', 'basel' );
    	break;
    
    	case 'portfolio':
    		$placeholder = esc_attr_x( 'Search for projects', 'basel' );
    		$description = esc_html__( 'Start typing to see projects you are looking for.', 'basel' );
    	break;
    
    	default:
    		$placeholder = esc_attr_x( 'Search for posts', 'basel' );
    		$description = esc_html__( 'Start typing to see posts you are looking for.', 'basel' );
    	break;
    }
    
    switch ( $search_post_type ) {
    	case 'product':
    		$placeholder = esc_attr_x( 'Search for products', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see products you are looking for.', 'basel' );
    	break;
    
    	case 'portfolio':
    		$placeholder = esc_attr_x( 'Search for projects', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see projects you are looking for.', 'basel' );
    	break;
    
    	default:
    		$placeholder = esc_attr_x( 'Search for posts', 'placeholder', 'basel' );
    		$description = esc_html__( 'Start typing to see posts you are looking for.', 'basel' );
    	break;
    }

    When I get back the previous version code it works fine.

    #131820

    fiodor
    Customer

    E_PARSE in string 1377 of the file /home/adesartc/public_html/wp-content/themes/basel/inc/template-tags.php. Error message: syntax error, unexpected ‘switch’ (T_SWITCH)

    #131904

    Hello,

    1 – My ajax cart doesn’t work anymore. Page reloads after I put something in basket. The ajax hsop is ON in Theme settings. Could you take a look, please?

    Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue.

    2 – where i can find the text of this placeholder to be translated https://screencast.com/t/7htT0wnrx? Loco translate does not translate it at all.

    You are using WP Multilang plugin, please refer the documentation of the plugin or contact their support. Loco is not destined for multilingual sites, it translates a single language plugins and themes

    Best Regards

    #131982

    fiodor
    Customer

    1 – ok, the reason is in another plugin. Solved.

    2 – Loco is being used to translate the theme and it’s not related to wp multilang and it works well with multilang so far. Please tell me in what file I can find the label of the placeholder.

    Thanks

    #132075

    Hello,

    I have fixed the issue. Please check.

    Best Regards

    #132076

    fiodor
    Customer

    Perfect! Thank you!

    Gonna give a good feedback to your team and theme, good job!👍🏻

    #132077

    We shall appreciate highly. Thanks. If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Strange black strip in header’ is closed to new replies.