New Landing How can we help? General Forum Help Insert image in header on right

Viewing 5 posts - 1 through 5 (of 5 total)
  • #74305
    studimag
    Member
    Post count: 1

    Hi,

    i’ve worked on a website which use the Neighborhood template. I want to add an image in the right of the header. How can i do that ? Thk U.

    Studimag.

    #74395
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, you would need to modify the file sf-header.php for that! I recommend performing the codechange via a child theme. If you’re unsure how to do that, I recommend hiring a dedicated developer of your trust to help you with that!
    All the best

    #75075
    mimawebseo
    Member
    Post count: 33

    Hi studimag,
    I added this in my style.css (child theme) and it works fine.

    #header .container {
    background: url(“/wp-content/uploads/2014/05/image.png”) no-repeat scroll 0 0 rgba(0, 0, 0, 0);background-position:right;
    }

    You just need to replace /wp-content/uploads/2014/05/image.png for your path and your image.

    #75107
    studimag
    Member
    Post count: 1

    Thanks U. It’s works fine. There is a little problem for responsive adaptation of layout. How can i update the new css code in order that this new image put under the logo when the window will be reduce for Tablet or Smartphone.

    Thks U.

    #75243
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately it’s best to just hide the image on iPhone, it is not possible for it to go below the logo as it is a background image, therefore it will just go behind

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register