Is there any way to add styles to a title and tag line for Wordpress

Discussion in 'WordPress' started by RB!, Jul 11, 2008.

  1. #1
    I want to change the color and add an italic style to my title and tag line on Wordpress, how would I do this, is there a plug-in available for this?
     
    RB!, Jul 11, 2008 IP
  2. UseShots

    UseShots Peon

    Messages:
    244
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you know HTML and CSS? You can modify your WordPress theme.
     
    UseShots, Jul 11, 2008 IP
  3. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #3
    You can do it through CSS as well. Change as you want in your style.css

    DON.
     
    deluxdon, Jul 11, 2008 IP
  4. RB!

    RB! Active Member

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    where exactly on the style.css can I change the title and tag line (what would it say)
     
    RB!, Jul 11, 2008 IP
  5. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #5
    Look for "wp_title" in your header.php.
     
    mizaks, Jul 11, 2008 IP
  6. RB!

    RB! Active Member

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    ok i found it..
    <?php wp_head(); ?>
    
    <title><?php wp_title(' '); ?><?php if(wp_title(' ', false)) { echo ' -'; } ?> <?php bloginfo('name'); ?></title>
    Code (markup):
    but now what, i know nothing about php
     
    RB!, Jul 11, 2008 IP
  7. RB!

    RB! Active Member

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #7
    i tried replacing it with this and putting it in between the titles, but nothing

    
    <img src="<?php bloginfo('template_url'); ?>"/images/logo8.png" border="0" alt="<?php bloginfo('name'); ?>">
    
    Code (markup):
     
    RB!, Jul 11, 2008 IP
  8. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #8
    Oh so you want to add logo instead of default text. Add below given then.

    <div id="logo"><a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo8.png" alt="Logo" border="0" valign="top" /></a></div>
    Code (markup):
    Then you need to enter value of 'logo' in css stylesheet.

    DON.
     
    deluxdon, Jul 11, 2008 IP
  9. RB!

    RB! Active Member

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #9
    ok, if u go to my site you'll see that the logo is now up, but my original text is still there, and I don't want to delete it from the settings menu since I want the title to appear on top of the browser, what piece of code would I have to get rid of to make it not appear where the logo is imblog[dot]ca
     
    RB!, Jul 11, 2008 IP
  10. RB!

    RB! Active Member

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #10
    nvmd, figured it out
     
    RB!, Jul 11, 2008 IP
  11. RB!

    RB! Active Member

    Messages:
    216
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #11
    how can i make my tagline italic, here is the source code, I'm not sure which to modify..

    
    <?php if (is_home()) { ?>
    
    <h1><a href="<?php echo get_option('home'); ?>" title="<?php _e('Home'); ?>"><?php bloginfo('name'); ?></a></h1>
    
    <?php
    } else { ?>
    
    
    <h2><a href="<?php echo get_option('home'); ?>" title="<?php _e('Home'); ?>"><?php bloginfo('name'); ?></a></h2>
    
    <?php } ?>
    
    Code (markup):
     
    RB!, Jul 15, 2008 IP