• Resolved sepoto

    (@sepoto)


    In looking at the theme with Firebug I see there is an area with the ID ‘#primary’. I see that there is CSS for the ID primary in style.css:
    div#primary {
    margin-top: 2em;
    }
    style.css (line 59)
    div.sidebar {
    float: right;
    overflow: hidden;
    width: 180px;
    }

    I also see the ID ‘#primary’ is of the class sidebar. My question is where is ‘#primary’ created in index.php? I see no reference to any ID ‘#primary’ in index.php. Please help!

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try looking in sidebar.php

    Thread Starter sepoto

    (@sepoto)

    You are right. My other question is where is this function get_sidebar() defined. I have searched my them directory with grep but can not find a definition for get_sidebar().

    Thanks

    where is this function get_sidebar() defined

    In the WordPress core files. Why do you need to examine the function?

    Thread Starter sepoto

    (@sepoto)

    I guess I don’t really need to if it is a part of the WordPress core. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sandbox v1.6 & #primary’ is closed to new replies.