Monday, 06 September 2010
Login Form





Lost Password?
No account yet? Register
Site Search
Forum Latest
Total Users
1802 registered
8 today
8 this week
55 this month
Last: Gundykosz
Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Header in Rural theme (2 viewing) (2) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Header in Rural theme
#444
wilmss (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Header in Rural theme 6 Months, 3 Weeks ago Karma: 0  
I love the Rural theme. However, I have changed the header image and now would like my Gedcom title to appear over it, as happens with the SimplyBlue header. However, I am totally new to php and fairly new to html and therefore can't find what I need to change. Any help would be apreciated.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#445
admin_1 (Admin)
Admin
Posts: 239
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Louisiana, USA
Re:Header in Rural theme 6 Months, 3 Weeks ago Karma: 3  
Hi

Thats actually not too hard.

One caution though - if the original creator ever updates that theme and you use their new files your changes will be over-written. So take some precautions. Either keep a careful note of what you change so you can repeat the exercise; or create a copy of that theme and change its name to your own. (See FAQs on this site for more details).

To make the change you need to add some code in two files:

1 - in /themes/rural/header.php find row 126:
Code:

<div id="header" class="<?php print $TEXT_DIRECTION; ?>">
add this:
Code:

<?php print_gedcom_title_link(TRUE); ?>
to the end of it, creating this new row 126:
Code:

<div id="header" class="<?php print $TEXT_DIRECTION; ?>"><?php print_gedcom_title_link(TRUE); ?>
2 - in /themes/rural/style.css add this new style definition:
Code:

.gedcomtitle { color:white; font:bold 32px tahoma, arial, helvetica, sans-serif; text-decoration: none; line-height:4; }
I would recommend you add it just after the definition in rows 41-44. You can then adjust this style to suit your own header image, by altering the color, font settings etc. Change the vertical position by adjusting the "line-height". Hope that helps Nigel
 
Report to moderator   Logged Logged  
 
Chaz
  The administrator has disabled public write access.
#446
wilmss (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Header in Rural theme 6 Months, 3 Weeks ago Karma: 0  
Thanks Nigel, worked like a charm. Thanks a million for helping me out.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#447
wilmss (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Header in Rural theme 6 Months, 3 Weeks ago Karma: 0  
Spoke too soon. juast noticed it has moved the theme selector and language bottons out to over the menu bar. I'll play around and see what I can do, now that I know where I'm looking.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Advertisement
A PGV Themes Template © 2007