gruts
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Centered videos display left-alignedI’m totally confused, now. What if the theme has different ‘correct widths’ depending on what device you’re using? i.e. If it’s responsive?
Forum: Plugins
In reply to: [Gutenberg] Centered videos display left-aligned… The theme with which I’m experiencing the problem defines its content width as follows:
function rix_content_width() { $GLOBALS['content_width'] = apply_filters( 'rix_content_width', 640 ); } add_action( 'after_setup_theme', 'rix_content_width', 0 );…Is this not good enough?
Forum: Plugins
In reply to: [Gutenberg] Centered videos display left-alignedI tried it with the 2017 theme (again). The video displays full-width, so, as I said above, it’s impossible to tell whether it’s centering or left-aligning (because both look the same at 100% width).
Forum: Themes and Templates
In reply to: [Portfolio Press] Can't update theme optionsAh! Resolved it myself. Seems to be a problem with the Custom Admin Bar plugin: I temporarily disabled that, and everything worked fine.
Works very well. Thanks very much for your efforts.
I suppose some people (not me) might also like the option to hide the sidebar on archive/search pages, if you’re thinking of making any further improvements.
@pete Houston, I’m not too bothered about making more space for content; I just want a bit less clutter on the screen when people are reading my posts. But I would like to be able to use the sidebar on the home page, search result pages, etc.
@carpewebem, yes, exactly. As things stand, I have, unfortunately, been forced to disable the right sidebar on my entire website, just so I can have nicer-looking blog posts.
If you mean does that get rid of the sidebar on my /blog/ page, no.
I’m coming round to the conclusion that keeping the right-hand sidebar on (non-full-width) pages, but removing it from my blog (posts) pages is something the Twenty Fourteen theme simply doesn’t want me to do. I think this is an unfortunate constraint, but I guess I’ll just have to live with it, or use another theme.
I suppose another alternative might be to create different sidebars for the blog and non-blog pages, to give users more control.
…Well, it sort of worked in that it got rid of the right sidebar, but I wouldn’t make the default page look like a normal full-width page because the <body> tag’s class isn’t set to ‘full-width’ by default.
I suppose I could then have made a whole pile of css changes involving the class body.blog, but that would be ridiculously messy.
Any other ideas?
…Thinking about it, I suppose I could achieve what I want in a child theme by making the default template (index.php) full width, then introducing another template for pages requiring the (non-full-width) right-hand sidebar. It’s messy, but I’ll give it a shot and report back…
Thanks, but I wasn’t talking about the left sidebar; I was talking about the Content (i.e. right) sidebar.
What I’m trying to do is hide the right sidebar on my blog pages.
In selecting the full-width page template for my blog (/blog/) pages, I would expect the blog pages not to show the right sidebar (just like what happens for static pages using the full-width template). I tried to create a new page template specifically for my blog pages, but the theme seems to be ignoring whatever template I specify. Which sounds like a bug to me.
Andrew Nevins, sorry, will do.
My TwentyTwelve site loads very slowly, and my current thinking is that the loading of the Open Sans font is to blame. I want to disable it anyway.
I’ve tried disabling the font in my child theme by including the suggested code (see ThomasM’s second comment above) in my child theme’s functions.php, i.e.
function mytheme_dequeue_fonts() { wp_dequeue_style( 'twentytwelve-fonts' ); } add_action( 'wp_enqueue_scripts', 'mytheme_dequeue_fonts', 11 );…But, when I view my site’s header, it still reads:
<link rel='stylesheet' id='twentytwelve-fonts-css' href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&subset=latin,latin-ext' type='text/css' media='all' />Am I missing the point? Is there any way to tell my theme not to load the Open Sans font from the Google site?
Similar problem to hankman2k: I am using a TwentyEleven child theme with random customised header images. The JetPack mobile theme displays a header image I have never seen before, of what appears to be waves on rocks.
Forum: Requests and Feedback
In reply to: Don't like New ToolbarOh yes, you are right. That is completely counter-intuitive: you click exactly the same thing on different screens, and it takes you to different pages. Crazy! (But I am relieved that there is a direct link!)