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)
-   -   [SOLVED] Blog Title and Tagline (http://forum.bytesforall.com/showthread.php?t=568)

odoblog Feb 27, 2009 04:34 AM

[SOLVED] Blog Title and Tagline
 
Hi,

I want to centre align my Blog Tittle and Tagline at
http://www.christianclothingblog.com/

I do not know CSS or HTML

Can someone helpme with that

Thanks
ODOB

Flynn Mar 2, 2009 01:39 PM

Add through HTML/CSS Inserts -> CSS Insert:

HTML Code:

td.logoarea-logo {
width: 100%; /* to make this cell get all available width */
}
td.feed-icons,
td.search-box {
width: 280px; /* to limit these cells to the width of the right sidebar*/
}
h1.blogtitle, p.tagline {
text-align: center;
}
td#logoarea-left {
width: 280px;
}

In functions/bfa_header_config.php, after
PHP Code:

$logo_area '<table id="logoarea" cellpadding="0" cellspacing="0" border="0" width="100%"><tr>'

add
PHP Code:

$logo_area .= '<td rowspan="2" id="logoarea-left" valign="middle">
<img src="/path/to/image.gif" alt="text..." /></td>'


With this, your tagline will wrap early because 280 pixels are reserved on both the left and right side. To avoid this you'd have to let the RSS buttons on the right wrap:

Change the two instances of 280px above to 200px and add this to the CSS Insert

HTML Code:

div.rss-box {
width: 200px;
}




bill_g Jul 9, 2009 02:33 PM

Hi Thanks for this information! This is one excellent theme and am working things out quick.

I followed you guide to centering Blog title and Tag line and works great!

But when I click a post and it opens the blog title is left aligned and not centered.

Please could you tell me how to get the Blog title and Tagline Centered across the whole blog?

Many thanks

Bill

www.theisleofavalon.com

juggledad Jul 9, 2009 03:05 PM

In Atahualpa 3.4, try this. Change the line
HTML Code:

h1.blogtitle, p.tagline {
to
HTML Code:

h1.blogtitle, h2.blogtitle, p.tagline {

bill_g Jul 9, 2009 06:22 PM

Thank you, this soved my problem

Many thanks, this theme is excellent!


All times are GMT -6. The time now is 05:10 PM.

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