Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #527330

    I haven’t touched this site for some time but my client wants to add an img linking to a supplier in the spae in the top-right of the header:

    http://countysupplieslondon.co.uk/

    I can’t for the life of me remember how to do this. I can add stuff top-left quite easily.

    #527336

    Hey jimjiber!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #header .widget { z-index: 99; }

    and then go to Appearance > Widgets and edit Header widget area and add links to your images using HTML

    Best regards,
    Yigit

    #527340

    Thanks but I don’t think that works because I already have this in the Quick CSS:

    #header .widget {
      left: 10%;
      padding-top: 0px;
    margin-top: -70px;
      position: absolute;
      top: 0;
      transform: translate(-50%);
    }

    That’s so the other two icons display correctly (top-left)

    #527346

    Hey!

    Would you like to add another widget area to your header on the right side? If so, please go to Appearance > Editor and open functions.php file and find

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    and change it to

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
            dynamic_sidebar( 'header2' );
    }

    and then go to Appearance > Widgets and add a new widget area called “header2” and place your images inside it.
    You may need additional CSS code, please let us know if you need help with it.

    Cheers!
    Yigit

    #527352

    OMG I tried that and their live site has gone down!

    Fatal error: Cannot redeclare enfold_customization_header_widget_area() (previously declared in /home/countysu/public_html/wp-content/themes/enfold/functions.php:520) in /home/countysu/public_html/wp-content/themes/enfold/functions.php on line 526

    Help!

    #527354

    Hey!

    It seems like you have not changed the existing code but tried to re-apply it.
    Please go to wp-content/themes/enfold/functions.php file via FTP and remove the last code you added. If you would like us to look into it, please post FTP and WordPress admin credentials here privately.

    Best regards,
    Yigit

    #527365

    Okay, I fixed it via hosting control panel – phew!

    I have gone back into functions.php to try to change it again and I can’t actually find ava_main_header in there anywhere.

    I will give you the credentials below – perhaps you can have a look for me pls?

    #527380

    Hey!

    I adjusted the code and added following code to Quick CSS

    #header #text-11 {
        left: 80%;
    }

    Please review your website now.
    You should go to Appearance > Widgets and edit Header2 widget area.

    Regards,
    Yigit

    #527438

    Thanks a lot!

    Brilliant and quick support as always!

    #527441

    Hey!

    You are welcome, we are always happy to help!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Have a great weekend!

    Regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How can I add extra images in top-right of header?’ is closed to new replies.