Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Adding Static Header to Blog (http://forum.bytesforall.com/showthread.php?t=17694)

petro7447 May 30, 2012 03:49 PM

Adding Static Header to Blog
 
Hello,

I have a self hosted site (www.choosemyplan.com) and I am trying to set up the blog portion to where all I have to do is add articles or posts...which seems like it will never happen. I am not a web person, so forgive me if I confuse the terminology.

What I am trying to do:
Add a static header to the blog portion of the site that will not change when you are on the blog's home page or viewing a single post.....Just how the content on the sidebars don't change. I also would like to have one or two lines describing the blog with possibly some social icons.
-I have added the image to: /wp-content/themes/atahualpa/images/header and removed the others...so only that image is in the directory.
- In ATO>Style & Edit Header Area I have %image with the name of the image (exactly) in the "show logo image?"
I have "show blog title?"-Yes;
I am not sure what else to do...One thing that really annoys me and I am not sure if it relates or hinders what I am trying to do...but by default, the page title was showing up on my static pages...I looked around in the forum and saw to hide the post-headline style. So I changed it to

div.post-headline h1,
div.post-headline h2 {
display:none;
margin: 0;
padding: 0;
color:#474646;
text-shadow: 0 1px 1px #FFFFFF, 0 1px 0 rgba(255, 255, 255, 0);
<?php bfa_incl('post_headline_style_text') ?>
}

Which worked, but now the titles on the posts don't display....I think this is for another post...but I thought I would include it just in case....

I am using ATA 3.7.1 & WP 3.3

Thank you to anyone who decides to respond....

lmilesw May 30, 2012 06:12 PM

This code MIGHT work for you.
HTML Code:

.blog  div.post-headline h1, .blog div.post-headline h2 {
display: block;
}


petro7447 May 31, 2012 09:03 AM

Imilesw....thank you for the response...adding the code you recommended now displays the headline of the post in the excerpt view without adding it to my pages....thank you!

However, it still doesn't show the logo on the blog home page....I am curious if I am explaining my problem correctly? Basically I am looking to insert a static banner on the blog page that will sit above the left sidebar and center column where I can add the image, description, and 2-3 social icons....

Similar to what you see at http://net.tutsplus.com/. Where the ad banner would be where my logo would be and the social icons to the right...

Thanks again for any help

lmilesw May 31, 2012 09:27 PM

Most likely you would use a new widget area and CSS to create what you want but there is not a simple step by step. You will have to take a look a how to create the widget area and play with positioning etc. Then you would add the necessary widgets to the new widget area(s)

petro7447 Jun 1, 2012 09:58 AM

That's what I thought...I did try one thing and the header did show up...however it adds it on all pages and posts....is there a way to hide it on the pages, and display it on posts only? Here is what I added after <td id="middle"> in header.php:

<div class="post-header"><img src="http://www.choosemyplan.com/wp-content/themes/atahualpa/images/header/CMPPlusLogo.png" repeat-no center /></div>

Thanks again

lmilesw Jun 1, 2012 10:03 AM

Is there a reason you added it to a theme file rather than somewhere in the theme settings? I don't edit theme files as they will not survive an upgrade and Atahualpa let's me do most anything I want within the theme options.

You could add that same code to the configure header area box and then use CSS to display where you want.

petro7447 Jun 1, 2012 12:15 PM

Ignorance and desperation is really the only reason...
I had made those changes in ATO...with no luck....uploaded the image to the image/header directory; added the image name within header settings, etc... I guess it wasn't meant to be.

Thanks for trying, Imilesw....I appreciate it...


All times are GMT -6. The time now is 05:15 AM.

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