• Hey all,

    I am trying to change the font on my theme (custom). Whenever I change the font type (Times New Roman to Arial, for example), it works, but the size change is never recognized.

    Here is what I want my font to be:

    body {
        font: 88%/1.28em Georgia, serif;
    }

    Does anybody know why my theme never recognizes the sign change (it doesn’t work if it’s %, px or pt.)? Is there somewhere else on the style sheet that I need to change?

    Any help would be appreciated.

Viewing 11 replies - 16 through 26 (of 26 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I meant moving your other stylesheets (the ones that you don’t want to be affected).

    Thread Starter thegameison

    (@thegameison)

    I did that and it worked for the home page but now the design page is using the css from my normal page and instead of the design css.

    See how the titles now have the red hover now:

    https://thechasedownblock.com/home/

    I don’t want that.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Sorry which is the design page?

    Thread Starter thegameison

    (@thegameison)

    Design page has /home

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Okay if you’re having problems with this

    I meant moving your other stylesheets (the ones that you don’t want to be affected).

    Move the stylesheets back.

    Any style you want to keep, add !important on the end of that style.
    E.g layout line 384

    div#content_wrap a {
     color: #EE2828 !important;
    }

    I suppose you could just do this for all styles you want to stay as red

    Thread Starter thegameison

    (@thegameison)

    Well I like what the move has done for my home page but it’s the design page, which has it’s own css, that is now messed up. How can I make it so where the two don’t interact?

    Thread Starter thegameison

    (@thegameison)

    Here is the child theme make-up:

    /*
    Theme Name: NBA Child Theme
    Description: Child theme for NBA
    Author: Mark Travis
    Template: nba
    */
    
    @import url("../nba/style.css");
    
    }
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    In that child theme stylesheet, add,

    div#content_wrap a:hover {
     background: none;
    }
    
    .home div#content_wrap a:hover {
     background: #EE2828;
    }

    Thread Starter thegameison

    (@thegameison)

    It isn’t making an impact on the site. Am I supposed to create a new theme directory or a new plug-in directory. The wordpress site for child themes says a new theme directory but I suppose it’s different for plug-in CSS. Where should I put my child css file?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    your CSS file can be anywhere in your theme directory, but it still needs to be included in the header.php file.

    Good night.

    Thread Starter thegameison

    (@thegameison)

    Is the correct link for the header?

    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘https://thechasedownblock.com/wp-content/themes/NBAchild/style.css&#8217; ); ?>” />

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Not Recognizing Font Change’ is closed to new replies.