• So since I’m pretty new to all of this themeing, I do have a pretty dumb question for you all…

    I’ve been checking out the HTML and CSS in most of the themes out there and they all pretty much follow a basic structure including naming the div’s and the styles the same way. I’ve noticed, having built my own theme with my own HTML and CSS that a lot of things break. Is this just because I’m using my own stuff or am I just plugging the PHP in wrong to my HTML?

    Do I actually have to design the structure around the existing names? Make sense?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gmonk

    (@gmonk)

    Here’s my html example:

    [code moderated - please follow the forum guidelines for posting code]

    Thread Starter gmonk

    (@gmonk)

    I guess no one wants to answer this 🙁

    I’m a beginner as well. It might be that your index.php calls are not named correctly. http://codex.wordpress.org/Stepping_Into_Templates

    If you edit an existing theme I imagine they are named differently? I’m just reaching in the dark here- I literally started this about an hour ago but I’m interested in hearing the answer as well.

    Thread Starter gmonk

    (@gmonk)

    Well, I’m not renaming the actual php includes or functions. I’m not touching the php at all, in fact. It’s when I want to totally rename the <div> id’s or classes, <p> id’s or classes, any kind of HTML used.

    For example:
    A template from wordpress might use <div id="wrapper"></div> and mine might be called <div id="frame"></div>. I’m thinking that wordpress themes absolutely need the names to be the same based on the content that it might be posting.

    There are cases in a post where I think there is actual HTML being output by the database. Automatically adding <p> tags or
    <ul> tags or <h> tags. I don’t know for certain…

    I’m like an HTML whore. I would rather use my own html than something someone else makes up because it’s easier for me to go back and edit it later. That kinda stuff…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using my own HTML / CSS in a theme…’ is closed to new replies.