WordPress.org

Ready to get started?Download WordPress

Forums

Can't change font for external theme (5 posts)

  1. flurrsprite
    Member
    Posted 1 year ago #

    hello!

    i downloaded a theme from slrlounge.com, which was sort of an upgrade from a previous free theme i had gotten from them. their guidelines for how to update without losing the previous custom changes didn't work, so i did a full install and went about tweaking it all over again.

    for the most part it's good to go. the only thing i can't figure out is how to get the font back to what i had before, which was century gothic. the menu that the theme comes with offers other font options but not that one, and i really don't like the few options it does come with.

    i tried adding this code to the css editor, in hopes it would override the theme's css code... no luck:

    body {
    	font-family: "Century Gothic", sans-serif;
    }

    i also tried adding the code font-family: "Century Gothic", sans-serif; straight into all of the different stylesheets and templates, wherever i could see anything resembling font code... but it doesn't seem to work.

    i'm assuming there's more complicated code in there determining what font options i can use, but i'm just not that good with css or anything to be able to figure it out. i checked the slrlounge website and forums but they don't appear to be big on responding to questions, plus i don't know if i've done anything in wordpress that may have botched something up. can anyone help me?

    my website is flurrsprite.net.

    thank you!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Commercial themes are not supported here, but if you use Firebug it will show you what fonts are being used on various places on your site. I looked at it, and your code is fine and working. But for content section, the font is being set here:

    #main-comment, .copyright, #content, #content .entry {
        color: #999999;
        font-family: Verdana,Geneva,sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: normal;
    }

    So you'd need to change it in the CSS code there. There may be other places you need to change it as well. Firebug will help you find those. As far as theme options for fonts, no way for anyone here to know, so you'll have to get help from the vendor for that.

  3. flurrsprite
    Member
    Posted 1 year ago #

    thanks WPyogi, i downloaded firebug and it's great how it pulls up all of the code! but i'm not sure how i'm supposed to find it in the css editor within wordpress. when i first looked through the sheets and templates i searched for "font" and most of them didn't have anything... do you know how i would go about updating it for all of those types of sections of code, like the one you listed?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    No, there is no way to change it in multiple places. But Firebug shows you which stylesheet and which line -- look on the right side of the right panel. Or open the stylesheets and use a search to find any font attributes.

    you can also make test changes in the code in Firebug - so doing that would show you which places you actually need to change.

    Firebug's site has a lot of good info, and there are many CSS reference sites and tutorials on the web as well.

  5. flurrsprite
    Member
    Posted 1 year ago #

    ahhh i see! i had already done searches for font attributes and hadn't found anything, so it looks like i was on the right path already and that i'm not actually able to view the applicable stylesheet in wordpress. i checked out the one that firebug showed me and it looks to be disabled for me, when i try to manually enter it in the url it says i'm not allowed to edit that sheet :(

    i will contact the developer and hope they're able to help me :)

    thank you so much for your help! and thanks for the tip about firebug, it's great!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags