Tagged: x
-
AuthorPosts
-
October 19, 2016 at 3:09 pm #1222788
StudioNealParticipantHello!
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.
October 19, 2016 at 3:13 pm #1222790
StudioNealParticipantThis reply has been marked as private.October 19, 2016 at 4:07 pm #1222867
JoaoModeratorHi 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
October 19, 2016 at 11:05 pm #1223321
StudioNealParticipantThat worked beautifully, thank you! Is it possible to have the same bar run across the bottom, at the very top of the footer?
October 20, 2016 at 12:21 am #1223365
StudioNealParticipantAlso, 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’);
October 20, 2016 at 12:27 am #1223367
StudioNealParticipantThe column image did work – Cornerstone just took awhile to update!
October 20, 2016 at 2:04 am #1223476
LelyModeratorHi 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1222788 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
