• I’m having difficulty figuring out to custom modify the default page templates in wp-content/themes/default/. If you go to https://www.beyourowndetective.com/blog/ you will see I added my own custom table code with graphics, but it’s way below the header tag. I want it to be at the very top of the page above h1 heading tag. I tried moving <?php get_header(); ?> below my table code, which sort of works, but it turns the entire page background color grey, and probably does other weird things to the page. My form code at the bottom of the page appears to be ok. I’m not even sure if I am using the template editor correctly, or if I can add my own table codes. I assume I can.

    Fred

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter netdetective

    (@netdetective)

    If I am using images in my template, should I use absolute paths there?

    @netdetective,
    I can answer this question and hundreds more, of course, that’s what the forums are for.
    The answer is: I’d create an “images” folder inside the theme folder and keep all the theme images there. So from the stylesheet I’d have to reference them like this:
    background: #xxxxxx url(images/mypic.jpg);

    However if you are serious about making your own theme, I am going to tell you how I started. Downloaded 3-4-5-27… themes and dissected them, studied what they did – until I completely understood how the template files work together in a theme. And have read all the then-existing articles in the Codex. The rest was just playing a bit with colors, margins and other stuff in the CSS file ??
    I am saying again, please, don’t misunderstand, there is nothing wrong with asking questions. It will just take much more time until you “get the picture”.
    Just my $0.02

    Thread Starter netdetective

    (@netdetective)

    I was able to achieve the look I wanted with the default template. I found the Kubrick theme easier to work with than the other themes I looked at.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Custom modifying default theme templates’ is closed to new replies.