WordPress.org

Forums

Simple Catch
[resolved] formatting custom text in header area? (6 posts)

  1. silico26
    Member
    Posted 2 years ago #

    hi all, i added some custom text into my header area, in place of where the search option usually is. you can see it on my site via the link below, although it's hard to view against the dark background (it's located to the right of the big logo):

    http://d e v ynconstruction.com/wp (spaces added to my URL to hopefully prevent search engines from indexing my site with this thread!)

    the problem is that i can't find a way to style this particular text... obviously it's really hard to view with the default color (against my dark grey background) so i was looking around the theme options but only see options for styling the body text and not this header text.

    any ideas for what i can add to my custom css to alter this? just changing it to white would be great, although it would also be ideal to enlarge the text as well.

    thanks in advance.

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You can make it white by adding color: white; to the table CSS -- but that's pretty general -- so any other tables in the site would have white text as well. Alternatively, add a class or id to the table and use that as your CSS selector.

  3. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Oh, looks like you would need to add this too:

    table strong {
       color: white;
    }
  4. silico26
    Member
    Posted 2 years ago #

    thanks a lot!

    added the following to my custom css

    table strong {
       color: white;
    }
    
    table {
       color: white;
    }

    and it's now white. how would i enlarge this text? i am a noob with css

    thanks again!

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Just use font-size: 20px; - obviously change the number to what you want but 20 may be close.

  6. silico26
    Member
    Posted 2 years ago #

    awesome, thank you

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.