New Landing How can we help? Themeforest Theme Support Neighborhood Adding background image to header on boxed layout

Viewing 5 posts - 1 through 5 (of 5 total)
  • #91403
    Nickylew
    Member
    Post count: 35

    Hi there,

    I am in need of adding a background image (texture) like the ones you can use on the body background but within the header.

    I have tried a bunch of css but it does not want to override the core css even though it is in my active child theme’s stylesheet.

    I can get what I want just by using firefox’s firebug app changing css on the fly but actually realising this on the site does not seem to want to work.

    Any ideas/css tricks you have that could help me achieve that? I have been using this code:

    background: #e4e4e4 url("http://testing.atkeyandco.com/wp-content/themes/neighborhood/images/preset-backgrounds/45degree_fabric.png") repeat center fixed!important;

    along with some other bits to change margin on the header etc but that is the bit that doesn’t seem to want to override. (even with an !important at the end)

    I have attached a screenshot of what I am trying to achieve.

    Many Thanks.

    Attachments:
    You must be logged in to view attached files.
    #91405
    Nickylew
    Member
    Post count: 35

    Sorry. didn’t put full code. Been trying with this.

    div#header-section #header .header-4 {
    background: #e4e4e4 url("http://testing.atkeyandco.com/wp-content/themes/neighborhood/images/preset-backgrounds/45degree_fabric.png") repeat center fixed!important;
    }

    But also tried just using #header-section and just #header and also a mixture of all of them. Still not working!

    #91571
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi there

    If you could kindly provide me with your link I will be happy to see if I can provide some custom css

    – Kyle

    #91595
    Nickylew
    Member
    Post count: 35
    This reply has been marked as private.
    #91609
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    header {
      background: #e4e4e4 url("http://testing.atkeyandco.com/wp-content/themes/neighborhood/images/preset-backgrounds/45degree_fabric.png") repeat center fixed!important;
    }

    – 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