WordPress.org

Forums

Custom Community
Changing header area size- Custom Community Theme, Menu Question, Reply area (7 posts)

  1. jenrusfreelance
    Member
    Posted 2 years ago #

    I am working on this website: http://genevieveshome.com/test

    Header Size Question
    I want to get rid of the large amount of space in the header section at the top of the page. I tried some of the suggestions in this topic:
    http://wordpress.org/support/topic/how-do-i-hide-the-header-design-for-custom-community-wordpress-theme?replies=10

    HOWEVER - When I implemented the changes recommended by 'gemeda', it not only gets rid of the header area, but also makes the container larger/does funny things with the container (which I do not want). I am not sure either if I want to get rid of the navigation completely.

    So, I have two questions:
    1. What code do I remove just to change the header size? (not to affect the container or the menu)
    2. What code do I remove to change both the header size and take out the menu? (but leave the container as is)

    Reply Area Question
    I have observed various posts about removing the reply area. I have been successful doing this on the interior pages, see here: http://genevieveshome.com/test/our-artists/

    BUT, I cannot seem to figure out how to remove it from the home page: http://genevieveshome.com/test I am using the Custom Page plugin for this particular page and so I am wondering if this could be why the change won't take effect? (I will post this question in the plugin part of the forum as well) If you have any advice on this, that would be greatly appreciated too.

    Thank you in advance,
    Jenny

    http://wordpress.org/extend/themes/custom-community/

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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?

  4. jenrusfreelance
    Member
    Posted 2 years ago #

    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?

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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:

    http://www.w3schools.com/css/

  6. jenrusfreelance
    Member
    Posted 2 years ago #

    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.

  7. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic