Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter davesmith_au

    (@davesmith_au)

    Thanks for both answers @umeshsingla you are a good help. On the second one, I feel like a dill! I looked everywhere EXCEPT the obvious place, the browser address bar!

    Ah well, the only bad question is the one you don’t ask I guess. Maybe it’ll help someone else out there too!

    Cheers, and thanks again.

    Thread Starter davesmith_au

    (@davesmith_au)

    Thanks @umeshsingla, but I’m not sure WHERE you’re suggesting I use this code 🙂 Does it go in my (child) theme’s functions file, or the smuch functions file, or where?

    ALSO I am unfamiliar with “attachment ids” – Is this the image’s file name, like “banner6.png” or is it something else? I cannot find image attachment id numbers anywhere on the image attachment page.

    • This reply was modified 9 years, 6 months ago by davesmith_au.
    • This reply was modified 9 years, 6 months ago by davesmith_au.

    No wukkas!… 🙂

    The one you put above should read like this:

    /* Header */
    .site-header {
    	padding: 0;
    	padding: 0;
    }

    Also, make sure that in your dashboard, under Appearance >> Header where you’ve uploaded your own header image, underneath you should UNcheck the box “Show header text with your image” or that setting may conflict with your css. That should take care of what you’re wanting to do.

    BTW are you a fellow Aussie, I see you use a sulphur-crested cockatoo as your avatar on the css forum…

    BTW the reasons I’ve included the whole block of code here and also in my child theme, is (a) that you can find it easier, and (b) that I can easily go back and make further alterations (to the box-shadow, padding etc) without having to flog through mountains of code again – my memory resembles a sieve at the best of times!

    Jennifer I just managed to find the right code in my regular style.css file, which I’ve now modified for my child css file.

    The twentytwelve file has the following:

    /* Minimum width of 960 pixels. */
    @media screen and (min-width: 960px) {
    	body {
    		background-color: #e6e6e6;
    	}
    	body .site {
    		padding: 0 40px;
    		padding: 0 2.857142857rem;
    		margin-top: 48px;
    		margin-top: 3.428571429rem;
    		margin-bottom: 48px;
    		margin-bottom: 3.428571429rem;
    		box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);

    Which I’ve over-ridden in the child theme with the following:

    /* Minimum width of 960 pixels. */
    @media screen and (min-width: 960px) {
    	body {
    		background-color: #e6e6e6;
    	}
    	body .site {
    		padding: 0 40px;
    		padding: 0 2.857142857rem;
    		margin-top: 12px;
    		margin-top: 0.857142857rem;
    		margin-bottom: 12px;
    		margin-bottom: 0.857142857rem;
    		box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    	}

    As you can see, the parameters I changed are the margins top and bottom. I change the margin by a quarter the pixel value, so I also changed it a quarter of the “rem” value too, to make the changes consistent with each other.

    Jennifer your padding adjustment needs to be made on both lines. That is, if you change the “px” value to zero, you need to change the corresponding “rem” value. Of course, that won’t address this issue, but it’ll help you to make other changes you’re working on… 🙂

    Andrew your answer may suffice for the experienced developers, but some of us just can’t work out from “inspect element” (in developer tools) where in the style.css the top margins for the wrapper are set. I’m used to changing almost anything in a twentyten child (have built quite a number of quality sites with it), and now using twentytwelve for a new site, I’m stumped if I can see where this parameter is set. It would be MUCH easier if someone could say “It’s in the xyz file and you need to change blah blah blah to blah blah blah blah” – Some of us do need our hands held with the new themes…

    Cheers, Dave.

    Thread Starter davesmith_au

    (@davesmith_au)

    Nice to see so many people jump in an help with this </sarcasm>…

    Anyhow, as it appears to be a wordpress core issue rather than a theme issue, any follow-up should go to the miscellaneous thread I’ve started:

    http://wordpress.org/support/topic/since-update-to-34-set-featured-image-hangs

    Closing this thread as resolved.

    Thread Starter davesmith_au

    (@davesmith_au)

    OK so this seems to be a WordPress core issue and not a theme issue. It’d be really nice to have someone come in and actually try to help us resolve it.

    Also since the update my “Clear Cache” hangs and although I can change authors successfully, one of our other admins cannot.

    Curioser and curioser…

    Thread Starter davesmith_au

    (@davesmith_au)

    Hi EG, looks like we’re on our own!

    The problem I’m having is that the site I work on (well I have a few, but the one which “matters”) is live and has thousands of hits every day, so I want to interrupt proceedings as little as possible when I try to find/fix the problem.

    I’m using a child of Twenty Ten so I’m about to investigate the updated mates to those and see if an incompatibility has crept in that way. If I have any success, I’ll post here so you can have a go at it.

    Thread Starter davesmith_au

    (@davesmith_au)

    Thanks Ipstenu, I’ve made a post over there and yes, I do use a child theme for all customizations… 🙂 Cheers, Dave.

    Thread Starter davesmith_au

    (@davesmith_au)

    I just realized this could be a theme issue, as I also updated the twenty ten theme I use, though I do use a child theme for many modifications. Is there a specific forum for theme support?

    Pretty new to all this WordPress stuff, but found this thread quite useful. I was looking for a way to make selected posts appear without the sidebar (using a twentyten child).

    I installed the “Custom Post Template” plugin and ended up here to find out just what to do, but I may have found an easier way to make it all work.

    I went through the process described by Chip Bennett and found it very helpful. However I wasn’t sure about the <div id="container"> line in my new single-one-column.php file, as the child stylesheet I use still has the -240px setting to allow room for the sidebar, which would make sidebarless posts appear left of center and narrower than the available space.

    To get around this potential issue, I modified the line in my single-one-column.php file to read: <div id="container" class="one-column">and then added a new “class” to my style.css in my child theme, as follows:

    #container.one-column {
    	float: left;
    	margin: 0 0 0 0;
    	width: 100%;
    }

    I put this directly under the existing #container bit (the one with the -240px in it) and it seems to work perfectly.

    Just thought others finding this thread may find this extra bit of advice useful.

    Cheers, Dave.

Viewing 14 replies - 1 through 14 (of 14 total)