element.style edit issue
-
Trying to eliminate spacing above the header area on my new site http://airtechscreens.com . Using Firebug, I found the top spacing was a result of a padding setting I want to go to zero.
‘<body class=”home page page-id-25 page-template-default logged-in admin-bar customize-support”>
<div id=”wrap”>
<div id=”header” class=”clearfix” style=”padding-top: 35px;”>
<div id=”nav” class=”clearfix”>’When I eventually found what I think is the corresponding CSS it is located in the header.php file. However, when I found the code there was no padding info only
‘<div id=”wrap”>
<div id=”header” class=”clearfix” ><div id=”logo”>/”>
<?php if ( of_get_option(‘logo_upload’) ) { ?>
<img src=”<?php echo of_get_option(‘logo_upload’); ?>” alt=”<?php bloginfo(‘name’); ?>” />
<?php } else { ?>
<?php bloginfo(‘name’); ?>
<?php } ?>
</div>’
I then added the padding info to get:‘<div id=”header” class=”clearfix” style=”padding-top: 0px;”>’
Here’s the problem, when I update the header.php file it doesn’t solve the issue. I don’t no php or css so I am just trying to learn as I go. Is there another place this code resides that overrides this change or did I incorrectly enter the padding information? Thanks in advance for any help!
The topic ‘element.style edit issue’ is closed to new replies.