Hi Juggledad,
Can you just give me some pointers on how to style the taglines? Many thanks. |
wrap a div (with a class) around it and then add a selector and rules into the CSS Inserts
|
Where please exactly? If I wrap it around the tagline, the code itself appears on the page. If I go like this in lines 205 and further:
HTML Code:
if ( $bfa_ata['blog_tagline_show'] == "Yes" ) { Can you please be more specific? Which file, what code replaces what code? Many thanks |
that is because you are mixing php and html, you have to switch between them. That is why you see the '<?php' and '?>' in the code. This tells when you are using php and when you want just straight HTML
here is a quick lesson you can read http://www.build-your-website.co.uk/...-PHP-Part3.htm which I found on the web with a quick google search |
I studied the 3 lessons, and then copied the entire bfa_header.config.php to Homesite in order to get a good view of the structure. I noticed the entire document is within <?php and ?> so I am not sure where it would slip in and out of php. There are accolades in the file that are not mentioned in the lessons. I am sure I would be able to find how to style html within php but please don't overestimate me. If you could be more specific with regard to this code and the div it would save me a lot of time that I need to pass 1000+ html pages through this WP installation in the next weeks.
|
bfa_header_config.php is a bad example to look at, look at header.php you will see the escaping in the first 11 lines.
|
Yes, but I need to enter this code in the bfa_header_config.php, where all I see is if-statements. I appreciate your pointer, and I understand that I should be able to work this out by myself but I can't and I am giving up on this one. Thanks anyway.
|
juggledad thanks for a great tutorial.
For those that want 'multiline' taglines, I went one stage further, in this exampel I use |cr| as my delimiter in the tag line, though you could edit the code to use anything you like, so my tagline looks like this: line 1|cr|line 2|cr|line 3|cr|line 4 and prints out like line 1 line 2 line 3 line 4 so here is my code: (all comments appreciated!) at line 205 change to: HTML Code:
if ( $bfa_ata['blog_tagline_show'] == "Yes" ) { HTML Code:
if ($bfa_ata['overlay_blog_tagline'] == "Yes") { Hope it helps, Best Regards, Gordon aka The Digital Geek. |
All times are GMT -6. The time now is 12:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.