Adding divs and span to page (3 posts)

  1. Robertmcbryde
    Posted 3 years 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?


  2. potentweb
    Posted 3 years ago #

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

  3. Robertmcbryde
    Posted 3 years 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