Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1222788
    StudioNeal
    Participant

    Hello!
    I’m attempting to add an accent bar at the top of my header so that it appears at the very top of all pages – similar to this http://malala.org.
    I’ve added the code in the customizer that I found in another post, but I’m still not seeing it on the site. I tested the URL and it seems to be working fine.

    My site is still under construction, so I will post a link and creds in a private post below.

    #1222790
    StudioNeal
    Participant
    This reply has been marked as private.
    #1222867
    Joao
    Moderator

    Hi There,

    Let´s do different,

    Go to Appereance > Customizer > Header > Activate Topbar Content, remove all content that is inside in case there is something.

    Add to appereance > customizer > custom > css

    .x-topbar {
    background: url(http://www.indiaprojectinc.org/wp-content/uploads/2016/10/HEADERBACKGROUNDBAR.jpg) no-repeat;
    background-size: cover;
    }

    Hope it helps

    Joao

    #1223321
    StudioNeal
    Participant

    That worked beautifully, thank you! Is it possible to have the same bar run across the bottom, at the very top of the footer?

    #1223365
    StudioNeal
    Participant

    Also, I’d like to run the same image across a column. Per another thread, I added this to the style field for the column, and it doesn’t seem to be working.

    background-image: url(‘http://www.indiaprojectinc.org/wp-content/uploads/2016/10/indiaprojectaccentbarheader.jpg’);

    #1223367
    StudioNeal
    Participant

    The column image did work – Cornerstone just took awhile to update!

    #1223476
    Lely
    Moderator

    Hi There,

    Try this instead for top part of the footer(Widget section):

    .x-colophon.top {
        background: url(http://www.indiaprojectinc.org/wp-content/uploads/2016/10/indiaprojectaccentbarheader.jpg) no-repeat;
        background-size: cover;
    }

    If you want to add it just above footer content, try this:

    .x-colophon.bottom {
        background: #e8903e url(http://www.indiaprojectinc.org/wp-content/uploads/2016/10/indiaprojectaccentbarheader.jpg) no-repeat;
        background-size: cover;
    }

    But then you have to update the image to be PNG type and remove the white background.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1222788 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>