• Resolved delete

    (@moonbatwingnut)


    I’m using the Redoable theme and have had to resort to using background images that are added at the CSS style sheet. I’ve looked through all the index.php files and I can’t find anywhere where the DIVs defined in the CSS stylesheet are actually called. I thought I’d find <div class=”divnames”> somewhere, but no luck. How do I add content to these DIVs where they are called?

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The actual layout of the theme will be located over several files. Header.php, sidebar.php, main.php, footer.php. Here is some more resources to look at as well.

    http://codex.wordpress.org/Using_Themes
    http://codex.wordpress.org/Stepping_Into_Templates
    http://codex.wordpress.org/Templates

    No, you would find only “divnames” in the stylesheet.
    More exactly:
    #name – for id
    .name – for classes

    Good place to start learning: http://www.w3schools.com/css/default.asp

    Thread Starter delete

    (@moonbatwingnut)

    Yes, I found them in the stylesheet. My question is, where are they invoked in the html layout of the page? It’s not in the index.php because I’ve looked. In a regular index.htm document I would expect to find the DIVs invoked with a <div class=”divname”> beginning to some code. After which you add content before closing the DIV with </div>. Where is that code in a WordPress theme?

    It’s usually helpful to look at all replies since your last reply. Look above at my reply.

    Thread Starter delete

    (@moonbatwingnut)

    Thanks jeremy, I did look at those links. But there must be several hundred pages linked through that series of files. None of which have yet to answer my question. Where -exactly- is a DIV called out so I can enter some content?

    My theme has a DIV called sidebarheader that I want to put an image into, and later, code that calls an advertisement. Where can I find that DIV, other than in the CSS stylesheet? I’ve looked at all the obvious suspects, including sidebarheader.php and don’t see it.

    Most of the code is include in these files in your theme’s directory. Header.php, sidebar.php, main.php, footer.php are some of the files, just open up all the files in your theme in a text editor and have a look at the code. There should be some php mixed in with divs and lists and all sorts of other goodies.

    Thread Starter delete

    (@moonbatwingnut)

    Found it in one of the .php files that I thought I’d carefully scanned before.

    Thanks!

    TW

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Where are the DIVs called?’ is closed to new replies.