Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Horizontal Bar above the Header?


  #1  
Old Oct 5, 2015, 11:23 PM
thetravelchronicle
 
97 posts · May 2009
Horizontal Bar above the Header?

I'd like to add some space at the very top of the page.

So, I made my way to:

header.php

and found the following code:

<?php wp_head(); ?>

and pasted together a line of made up code without any real idea what I was doing:

<?php header_items( $horizontal_bar1 = ' '); ?>

I can't be too far off, it seems, because it turns my home page into one big blank horizontal bar - in the appropriate color.

Could anyone suggest a way to have a regular height %bar1 above the Header area?
  #2  
Old Oct 6, 2015, 05:06 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Why not add %bar1 as the first item in the 'Configure header area' option and then style it the way you like? Then it is part of the theme options.

in the bar1 options use 'height 150px; background-color: red;' and you will have 150px red banner at the top
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Oct 6, 2015 at 05:09 AM.
  #3  
Old Oct 6, 2015, 03:49 PM
thetravelchronicle
 
97 posts · May 2009
Oops. I neglected to mention that I have a plugin which has inserted itself into the header.php file, which is why I was mucking around in there to begin with.

My two choices for user selected placement of the plugin are:

[horizontal-scrolling group="GROUP1"]

<?php newannouncement( $group = "GROUP1" ); ?>

Neither of which can be dropped "naked" into the configure header space - or so my very quick test would indicate.

So, I either need to learn how to insert php into the configure header space so that I can then add a bar above the plugin, or I need to get a bfa horizontal bar into header.php

I think.
  #4  
Old Oct 6, 2015, 04:15 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
I neglected to mention that I have a plugin which has inserted itself into the header.php file,
you have a plugin that is updating the themes header.php????? Very bad for...unless it told YOU to update header phe.

what is the plugin??
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 6, 2015, 07:43 PM
thetravelchronicle
 
97 posts · May 2009
Well, I don't remember how the bit of code that calls for a Horizontal Scrolling announcement got into the header.php file, but that doesn't mean I didn't do it. This is one of about a dozen completely unrelated projects...oh nevermind.

Here is the site, I can learn to live with the scroll smack up against the top, but thought this might be a good-for-general-knowledge type endeavor:

https://ctsaspen.com
  #6  
Old Oct 7, 2015, 06:16 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
go to ATO->Add HTML/CSS Inserts->HTML Inserts: Body Top add a <div...>...</div> and add CSS to style it the way you want.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Canīt remove horizontal bar in the header t.hoelzl Header configuration & styling 5 Jul 26, 2010 07:24 AM
Horizontal Featured Post Thumbnails in Header brownkidd Header configuration & styling 0 Apr 20, 2010 11:22 PM
header horizontal line 1 or 2 pixels misaligned bushtool Header configuration & styling 2 Jul 28, 2009 03:24 PM
Text/images between horizontal bars in header? robertayers Header configuration & styling 5 Mar 14, 2009 09:24 AM
Sticking an Adsense banner in the horizontal bar #2 in header? syuzhet Header configuration & styling 1 Feb 11, 2009 07:00 PM


All times are GMT -6. The time now is 04:23 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.