WordPress.org

Ready to get started?Download WordPress

Forums

Adding divs and span to page (3 posts)

  1. Robertmcbryde
    Member
    Posted 1 year ago #

    I'm new to php and am trying to add a custom div and some custom spans with the existing div id="page".

    The reason being I want to use CSS:before and :after attributes and need to define some specific spans and divs. I've had a look through some of the php files in the twenty eleven theme but not really sure where to start. Is anyone able to point me in the right direction?

    Thanks

  2. potentweb
    Member
    Posted 1 year ago #

    You probably want to look in the page.php file inside the loop.

  3. Robertmcbryde
    Member
    Posted 1 year ago #

    Thanks potent web, I'll have a look in page.php and see if I can figure it out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags