Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you using Firebug to work with the CSS? Highly recommend it as it shows you what CSS is affecting a particular element or part of the page and you can text changes in your browser before making them in the actual code.

    The large space in the header section is the margin in this CSS:

    #access {
        background: none repeat scroll 0 0 #FFFFFF;
        border-radius: 6px 6px 6px 6px;
        display: block;
        float: left;
        margin-top: 165px;
        padding-top: 0;
        width: 100%;
    }

    If you don’t want comments on the home page – set it to a static page?

    Thread Starter jenrusfreelance

    (@jenrusfreelance)

    Thank you for the reply. I appreciate it.

    Change it in the style.css correct? I didn’t see that exact code, but I do see this:
    div.post .wp-caption {
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-bottom:12px;
    }

    I changed the margin-bottom to 3 px. but nothing changed on the front end.

    What am I missing?

    The above has nothing to do with the header section at all — see the selector (div.post .wp-caption) — that defines where the CSS is styling. That has to do with captions on images in posts — LOL.

    If you use Firebug, as suggested, you can also see where the style is coming from — it’s actual internal CSS – so it’s in the head section of the site. Don’t know how your theme is set up — maybe that’s where custom CSS is coded? When you make CSS changes, where/how are you entering them?

    You will find this much easier if you learn some basic CSS — this is a good resource:

    https://www.w3schools.com/css/

    Thread Starter jenrusfreelance

    (@jenrusfreelance)

    Admittedly, I am not a programmer by trade, I’m a designer. I know a lot of html and enough programming to get myself into trouble ;).

    Thanks for the suggestion on Firebug. I do have access to Chrome Developer Tools functionality, which will essentially do the same thing, correct? I also use the w3schools.com site some, but will study up on that.

    The site is set up in the Custom Community theme. Would this not be where the header is controlled? From looking at it in Chrome Developer Tools, it looks to me that it is coming from the style.css sheet. But as stated above, the code you indicated to change is not available there. Any other ideas?

    For CSS changes I am using child themes in the CSS and for some I am editing through the FTP file manager.

    Yes, chrome dev tools is the same idea — I don’t use it so I don’t know exactly how it works. But in Firefox, it shows where specific CSS is coming from – and as I said, in this case, the CSS is in the head section of page.

    But to solve the problem, try adding this to your child style.css file:

    #access {
        margin-top: 165px !important;
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing header area size- Custom Community Theme, Menu Question, Reply area’ is closed to new replies.