• Resolved kayten1

    (@kayten1)


    Tomas, I hate to bother you but I have a question:

    I’ve managed to change a few things okay and I’m coping with doing it, although I don’t know much code.

    However, I’m having great difficulty understanding how to make the site wider (I’m working on a child theme). I’ve tried but it always ends in confusion. I’m obviously misunderstanding and doing something wrong.

    Is there any way this could be phrased in a simpler, clearer way so even I can’t mess it up? ??

    I’m referring to the section entitled:
    “Make whole site wider or narrower”.

    I think I’ve messed up the CSS by now so I suppose the best thing to do is activate the child theme again so it’s like new, is that right?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    Right, just upload fresh copy of a child theme.

    I’m very sorry, but I will not be able to make it clearer, because it is already step by step instruction.

    Thread Starter kayten1

    (@kayten1)

    Okay Tomas, understood.

    If anybody else has managed to make their site wider could they please advise me on how to do it? I really can’t follow the steps in the guide. It’s probably me being a bit dim, I don’t know. Anyway, any help would be greatly appreciated.

    If you prefer to email me direct you can reach me at k10-at-blueyonder.co.uk

    Thank you for your help.

    Hello kayten1,
    Last night I was just coping with the same and found the trick in functions.php, in this part:

    function tinyframework_mod_content_width() {
    	if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) {
    		$GLOBALS['content_width'] = 1026;
    	}

    Where it says 1026 the default is 960.

    Next challenge is to make also the sidebar a little wider…

    Never mind. Found it in css at Tip 52.

    Lesson: never try to learn code at night… ??

    Thread Starter kayten1

    (@kayten1)

    Thanks Mallory, I do appreciate you taking the time to reply to my post. However, I gave up on the theme altogether, since I was having trouble and couldn’t get help sorting it out.

    I’m now using a child theme of the twenty twelve theme and it’s working okay. And I’m pretty sure I can get help with this one if I need it, which is always good to know.

    I’ve been able to tweak it to suit my requirements (you can check it out at real-memory-improvement.com), and it looks a lot like it used to, but a little better I think.

    At the moment I’m replacing all the adcodes with shortcodes, using a plugin (Google Adsense Insertion), and it’s going okay. Ads that had become invisible after the recent WordPress update are showing with the shortcodes.

    One problem though, the biggest ad, the tall one in the sidebar, just won’t show up on most pages. If you (or anybody else reading this) has any ideas why this might be I’d love to hear them.

    But thanks again, it was good of you to respond to my question.

    @kayten1

    One problem though, the biggest ad, the tall one in the sidebar, just won’t show up on most pages

    totally unrelated to WordPress, check https://support.google.com/adsense/answer/1346295?hl=en-GB#Ad_limit_per_page

    Thread Starter kayten1

    (@kayten1)

    Michael, I’ve tried to keep within the guidelines and I don’t think it’s anything to do with having too many ads of the page because …

    1 – Before the WordPress update I had the same number of ads and they were all showing up just fine, including the tall one in the sidebar.

    2 – When I start to edit a page to ‘fix’ the ad problem, the first thing I do is strip out the old ad codes. If there were too many ads, the one in the sidebar would make an appearance then, but it doesn’t (I’m previewing as I go to see how things look, so I’d see it).

    3 – On some pages the large ad in the sidebar is visible, yet I place the same number of ads on every page.

    4 – When I edit a page and take the ads out, apart from the sidebar ad (which I’ve just done, as a test), the sidebar ad still doesn’t appear.

    There’s obviously something causing this behaviour, but I really don’t think it’s to do with the number of ads on the page.

    Theme Author Tomas Mackevicius

    (@tomasm)

    User switched to new theme, marking as solved.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Difficulty making the site wider’ is closed to new replies.