Forum Replies Created
-
Mod
In reply to: Increase font size only on content but not on Print version
September 1, 2014 at 1:55 am #43358Three 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
Quote:But, but, but, no Neo…….?It’s coming. I just need to take the time to figure out how to monetize it.
Mod
In reply to: Increase font size only on content but not on Print version
August 30, 2014 at 3:03 pm #43355What happens if you remove the
!importantdeclaration?Mod
You may also need to adjust the top padding on the
#footerelement as well. I forgot to mention that.Mod
In reply to: Issue with Images and the jetpack setting of Carousel
August 28, 2014 at 11:05 pm #43339And have you tried disabling all your other plugins except for Jetpack?
Mod
#footer {background: url(none);}should do the trick.FWIW, the “clearfix” is something different.
Mod
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 areasThis 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
August 27, 2014 at 2:48 pm #43337None 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
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.
