Support » Fixing WordPress » Need help editing style.css

  • Resolved JG99


    Hello –

    I am trying to modify my theme’s header. I want to remove the listing of pages from the header section and have them appear only on the right margin of my blog. I have been in touch with the developer of my theme, and he has instructed me to do the following:

    hide it with CSS in your Child Theme — #access {display:none;}

    or remove it completely:

    // Remove default Thematic actions
    function remove_thematic_actions() {

    I would prefer to insert the above code directly into my blog. Below are the two areas (functions.php and style.css). Where do I insert the code mentioned above?



    // Custom Child Theme Functions

    // I’ve included a “commented out” sample function below that’ll add a home link to your menu
    // More ideas can be found on “A Guide To Customizing The Thematic Theme Framework”

    // Adds a home link to your menu
    //function childtheme_menu_args($args) {
    // $args = array(
    // ‘show_home’ => ‘Home’,
    // ‘sort_column’ => ‘menu_order’,
    // ‘menu_class’ => ‘menu’,
    // ‘echo’ => true
    // );
    // return $args;




    THEME NAME: Thematic
    DESCRIPTION: The ultimate in SEO-ready themes, Thematic is a highly extensible, WordPress Theme Framework featuring 13 widget-ready areas, drop-down menus, grid-based layout samples, plugin integration, shortcodes for your footer, & a whole lot more. Perfect for any blog and the starting point for theme development.
    AUTHOR: Ian Stewart
    TAGS: white, three-columns, two-columns, fixed-width, theme-options, left-sidebar, right-sidebar, threaded-comments, sticky-post, microformats
    The Thematic Theme is copyright Ian Stewart
    This work, like WordPress, is released under GNU General Public License, version 2 (GPL).

    /* Reset browser defaults */
    @import url(‘library/styles/reset.css’);

    /* Apply basic typography styles */
    @import url(‘library/styles/typography.css’);

    /* Apply a basic layout */
    @import url(‘library/layouts/2c-r-fixed.css’);

    /* Apply basic image styles */
    @import url(‘library/styles/images.css’);

    /* Apply default theme styles and colors */
    @import url(‘library/styles/default.css’);

    /* Prepare theme for plugins */
    @import url(‘library/styles/plugins.css’);

    /* ————————————————————–

    Default styles for Images

    I’ve duplicated these styles here from images.css in
    order to get Thematic through the auto-checker at the
    official WordPress Themes directory.

    When the directory can hunt though css files linked
    through @import the styles below will no longer be
    neccesary and will be removed.

    Cheers. –Ian Stewart

    ————————————————————– */

    .entry-content img {
    margin: 0 0 18px 0;
    img.alignleft {
    float: left;
    img.alignright {
    display: block;
    float: right;
    img.aligncenter {
    display: block;
    clear: both;
    .wp-caption {
    text-align: center;
    .wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    .wp-caption p.wp-caption-text {
    margin: 0;
    .gallery img {
    .wp-smiley { /* Prevent the smileys from breaking line-height */
    margin:0 !important;

Viewing 3 replies - 1 through 3 (of 3 total)
  • Add the #access {display:none;} line to the end of style.css.

    Like this? After this line of code?

    .wp-smiley { /* Prevent the smileys from breaking line-height */
    margin:0 !important;

    I solved this as follows:


    // Create #access
    // In the header div
    function thematic_access() { ?>
    <div id=”access”>
    <div class=”skip-link”>”><?php _e(‘Skip to content’, ‘thematic’); ?></div>
    <?php wp_page_menu(‘sort_column=menu_order’) ?>
    </div><!– #access –>
    <?php }

    from header-extensions.php.

    header-extensions.php. is found via cPanel, not through the blog dashboard!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need help editing style.css’ is closed to new replies.