removing white space
-
You have to post a url, we can’t tell if your margin or padding can be adjusted, or if it’s the nature of your image, without seeing something.
myfreelancelifestyle.com
Sorry, I’m having trouble with the firebug I use that helps to see code. I’m going to make sure another moderator knows you still need help.
If you’re not familiar with firebug it’s a very handy tool to use with Firefox that allows you to examine the code and debug, you can do it “live” in the browser and then copy that code to your files.
thank you, sir.
Not sure why you need a moderator, can you clarify?
have white space above the text image
.site-header { padding: 0; }between the text image and the menu bar.
.main-navigation { margin: 0; }@venkymyfreelancelifestyle, Did you look at Firebug?
Also consider looking into your header.php file (of your Child Theme) for that stray less-than character above your header image.your ‘code’ is not working,sir.please help me.
your ‘code’ is not working,sir.please help me.
I suggest learning the syntax of CSS and then re-evaluating your code: http://www.w3schools.com/css/css_syntax.asp
To troubleshoot CSS, try adding some colours.
So for example:
.site-header { padding: 0; }add a border like so:
.site-header { border: 1px solid red; padding: 0; }If you can’t see the border, than that means that the CSS in your child theme is not picked up.
I think that there’s an issue in the comment of your child theme.
You are using twenty-twelve, but you have this:
Theme URI: http://myfreelancelifestyle.com/twenty-fourteen-child/
but your child theme is
Theme URI: http://myfreelancelifestyle.com/wp-content/themes/twentytwelve-child/I’m not sure if that’s what’s causing the issue.
You are editing the class but they are also wrapped in divs that is getting affected by the parent theme as Miss Christine said.
Add this to your child theme. I tried it in firebug.
#site-navigation {
margin: 0px;
}
#masthead {padding-top: 10px} *(change the number of pixels so that you get any desired space.As Andrew suggested, please take some time to understand CSS better. And if you learn firebug as I suggested, you will be able to see if those changes are taking place.
thank you,sir.
you solved my problem.as you said,i learn css and firebug.
once again,thank you for helping me.You are welcome, glad we could all help.
The topic ‘removing white space’ is closed to new replies.