site title and tagline: centering and changing font color & font

  • Author
    Posts
  • #1170379

    Hi! I have been trying many CSS codes in attempts to do the following to my site title and tagline:

    1) Centering
    2) Changing font color
    -Option 1: I would like to have ‘travel’ to be in a different color from the rest of the words in miss travelosopher. Possible?
    -Option 2: site title in a different color, while tagline stays in black
    (will be good if help is given to both above options so that I can fiddle and experiment whichever looks best!)

    I couldn’t find any code that works on mine so far! Kind help is needed!

    Oh, and I’m currently using Oxygen theme.

    Thanks in advance!! :)

    The blog I need help with is misstravelosopher.com.

    #1170517

    siobhyb
    Staff

    1.) You can centre your site title and tagline using the following code to your CSS file:

    .site-title, .site-description { text-align: center; }

    2.) You can change the site title using the following CSS:
    .site-title a { color: COLOURCODEHERE; }

    Changing just the “travel” part of your title is possible but a little more complicated…

    #1170523

    thanks, I’ve tried the above codes and it worked like a charm!

    i’ll not try changing color for the ‘travel’ part now.. will probably do it as an image in the future.

    anyway, thanks a lot!!! :)

    #1170524

    siobhyb
    Staff

    No problem. Glad it helped. :)

The topic ‘site title and tagline: centering and changing font color & font’ is closed to new replies.