WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Theme: veryplaintxt Header (9 posts)

  1. Anselma
    Member
    Posted 1 year ago #

    Where in the stylesheet.css do I put the following code to change the header font?

    <link href='http://fonts.googleapis.com/css?family=League+Script' rel='stylesheet' type='text/css'>
    <style>

    Thanks.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    You don't put it in the stylesheet, put it in header.php of your theme.
    Then put it just before this code:

    </head>

    Note for others: Usually you'd make your changes in a Child Theme but since this theme is to such an old version, it is unlikely to be compatible with WordPress 3.5 and therefore unlikely to update.

  3. Anselma
    Member
    Posted 1 year ago #

    I put it there, but then when I went to check my site had turned into a blank white page...

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Instead of this:

    <link href='http://fonts.googleapis.com/css?family=League+Script' rel='stylesheet' type='text/css'>
    <style>

    Try this:

    <link href='http://fonts.googleapis.com/css?family=League+Script' rel='stylesheet' type='text/css' />
  5. Anselma
    Member
    Posted 1 year ago #

    Perfect. Thank you. And how do I un-capitalize it? I've just used the code below in the stylesheet, but it didn't work.

    text-transform: lowercase;

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    I cannot see the issue sorry.

  7. afzaal1985
    Member
    Posted 1 year ago #

    [ Unnecessary personal comment redacted ]

    @Anselma. I can help you with this.

    To change the main title of the page to standard text so it shows the font case as you type it add the following to the bottom of your style.css file or using a custom css plugin:

    div#header h1#blog-title {
    text-transform: none;
    }

    If you want to also change the intro text case then add the following as well to the bottom of your css file:

    div#header div#blog-description {
    text-transform: none;
    }

    Let me know if there's anything else you need help with.

    Afzaal

  8. @Anselma? I hope your problem has been resolved and that CSS works for you. We're all including yourself unpaid volunteers here and it's always satisfying when someone's contributes here. That's true for all the moderators too, no one gets paid to contribute here.

    This is a community effort and anyone who replies is genuinely trying to help you on their own time and that's very cool. ;)

    Now if you'll excuse me while I go off topic for a moment.

    afzaal1985? I've removed your snarky comment and personal attack on Andrew. I'm replying here so you do not disparage my teammate further: It's not him that edited your comment it's me.

    Thank you for taking the time to help Anselma out. As I'd mentioned this is a free volunteer effort and the community support is the best. I'm not the most savvy CSS person (gross understatement!) and much thanks for helping out as you do.

    I'd appreciate it if next time you could do that without the side comment about one of the moderators. ;)

  9. afzaal1985
    Member
    Posted 1 year ago #

    Hi Jan,

    No problem. I can be a bit direct however I definitely only intend for this to be for the overall benefit. In future I'll be more sensitive for sure.

    Glad the issues been sorted :-).

    Afzaal

Topic Closed

This topic has been closed to new replies.

About this Topic