Archived

This topic is now archived and is closed to further replies.

  • 0

padding


Question

Posted · Report post

I'm trying to reduce the padding around the logo, nav bar, boxes at the top of the site so that I can condense the website. Note all the white space. www.showtimerealtynw.com

Share this post


Link to post
Share on other sites

9 answers to this question

Posted · Report post

no, they really didn't. I was already doing what they said to do but couldn't find the css code that should have been there. That's why I asked for the help. 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there! I took a quick peek and there is definitely some extra padding going on (and it looks like it might be messing up your video?) Do you have FireBug installed on FireFox or another developer/debugging tool on another browser? You will need this to figure out where to adjust your padding.

 

To give you a hint...look for the following:

 

#content .content-pad

.one-sidebar-right #column-main

Share this post


Link to post
Share on other sites

Posted · Report post

I have the chrome developer inspection tool. when I hovered over the header and nav bar, I got the following: 

 
.content .content-pad {
  1. padding15px;
}

 I added that to custom css using 5px instead of 15 and don't see a difference

Share this post


Link to post
Share on other sites

Posted · Report post

There were 3-4 areas that padding was defined that were affecting your site. Two were in the content-pad area and one was with the sidebars.

Share this post


Link to post
Share on other sites

Posted · Report post

Yes, I saw that. when I use the inspect tool, and I see the boxes with the different information, that's where I got this for the largest box:  div.content - pad 1241px x 922px. I just don't know how to put that into css language.

When i clicked on that larger box, i get this in the box on the right: element.style {

}
Matched CSS Rules
 
 
#content .content-pad {
  1. padding-top10px;
}
 
 
.content .content-pad {
  1. padding5px;
}
 
 
.content .content-pad {
  1. padding15px;
}

I just don't know what to cut and paste into the CSS editor. I put the one in the editor for the top, but it didn't change anything. 

Share this post


Link to post
Share on other sites

Posted · Report post

Do you actually have a 1. in front of every element?

 

.content .content-pad {

  1. padding15px;
}

should be

 

.content .content-pad {

padding15px;

}

 

And,  

 isn't CSS. It's just code and doesn't belong in your stylesheet as far as I know.

Share this post


Link to post
Share on other sites

Posted · Report post

there was no 1. in front of anything. I just wish someone could show me step by step how to use the inspect tool to find the RIGHT css code

Share this post


Link to post
Share on other sites

Posted · Report post

The information you need on using inspection tools is available to you from the source.  You can use the help function of the tool or, go to the website for information to help learn its use.

 

For Chrome:  https://developers.google.com/chrome-developer-tools/

 

For Firebug:  https://getfirebug.com/wiki/index.php/Firebug_Links

 

Hopefully, these will help.

Share this post


Link to post
Share on other sites