Kenneth John Odle

Moderator

Forum Replies Created

  • Mod

    In reply to: Increase font size only on content but not on Print version

    #43358

    Three thoughts:

    1) Are you declaring this in your child theme’s stylesheet? If so, it should be

    @media print {.entry-contest {font-size: 12pt;}}

    2) Use points (like I did above) for specifying print font sizes, since printers use points, not pixels.

    3) Did you remember to turn off Graphene’s default print stylesheet?

    You can also add a separate style sheet for print to your child theme and enqueue it in your child theme’s functions.php file:

    function theme_name_scripts() {
    wp_enqueue_style( 'style-name', get_stylesheet_uri() );
    wp_enqueue_script( 'script-name', get_template_directory_uri() . '/print.css', array(), '1.0.0', true );
    }

    add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );

    For those interested, info on enqueuing scripts is here:

    Mod

    In reply to: Up Past Midnight

    #43236
    Quote:
    But, but, but, no Neo…….?

    It’s coming. I just need to take the time to figure out how to monetize it.

    Mod

    What happens if you remove the !important declaration?

    Mod

    In reply to: footer clearfix

    #43342

    You may also need to adjust the top padding on the #footer element as well. I forgot to mention that.

    Mod

    In reply to: Issue with Images and the jetpack setting of Carousel

    #43339

    And have you tried disabling all your other plugins except for Jetpack?

    Mod

    In reply to: footer clearfix

    #43340

    #footer {background: url(none);} should do the trick.

    FWIW, the “clearfix” is something different.

    Mod

    In reply to: Up Past Midnight

    #43233
    Quote:
    Just a suggestion; I would increase the font size or add a font re-sizing tool.

    The font does actually scale in Firefox using “Ctrl +” or “Ctrl -“, but I’m not sure about other browsers. I have used a font-resizing tool before, but I’m trying to keep the number of plugins to a minimum. But you’re right, it seems small. I’m using Ubuntu, and it has a smaller x-height that other fonts. I’ve bumped it up a single pixel from the theme default (12px to 13px) and increased the line height from 18px to 20px and it seems to have opened it up quite a bit, at least on my monitor.

    Quote:
    is there a CSS trick to make fonts bigger only on Graphene content but not on wediget areas

    This should work:

    #content-main {font-size: 40px;}

    At least it does in Firebug. You’ll still need to add rules for headings

    Thanks for taking a look. Cheers!

    Mod

    In reply to: Issue with Images and the jetpack setting of Carousel

    #43337

    None of the pictures on that page are even clickable.

    Try disabling all other plugins except that one (you are using a carousel plugin, yes?) to rule out a plugin conflict.

    Moved to Support. Please post in the correct section next time.

    Mod

    In reply to: Gap between menu and submenu

    #43335

    You installed this plugin:

    which is adding this line of CSS:

    * {
    box-sizing: border-box;
    }

    The “*” is a wildcard selector that applies that style to everything on a webpage. A plugin should never do that. Targeting everything, instead of just the items the plugin affects, is just lazy coding, in my opinion. (I know it’s the plugin author’s attempts to make it mobile, but there really are better ways than this.)

    Moved to Support.

    Mod

    In reply to: CSS Files

    #43334

    The quick answer is: CSS is CSS. It doesn’t matter where it’s coming from. So as long as your child theme loads after the plugin loads its stylesheet, you can add any style changes for the plugin to your child theme stylesheet.

Viewing 10 posts - 771 through 780 (of 5,839 total)