• I designed a theme template in wordpress for this site clogsforwomen but as you can see it is not displaying as I intended, I have tried to attach another stylesheet named home.css.

    Although it shows in the CMS, and is listed in the file editor, it is not linking to wordpress.

    Basically I want my site template to look like this, whitemountainshoes this is the HTML only version without wordpress installed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • There are minor errors in your html page: you have <div /> structure for logo there, which is invalid and you have </br> instead of

    Other than that, on your blog page you haven’t applied styling to elements that are different from your html page. You should account for structural changes. For example, logo: in html page you have “header h1 a”, but in blog its “#header h1 a” and there is no logo image, so you should change header template to add your image.

    how did you link the ‘home’ stylesheet?

    example for a stylesheet at the same level as style.css:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/home.css" type="text/css" media="screen" />

    if your stylesheet is in a subfolder, for instance /css:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/home.css" type="text/css" media="screen" />

    Thread Starter rockandstroll

    (@rockandstroll)

    Thanks guys, but still running into some probs, I uploaded the stylesheet, into relevant folders through my web hosting and not wordpress.

    alcymyth, how do I access and alter code `<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_directory’); ?>/home.css” type=”text/css” media=”screen” />
    `
    I can’t find this code anywhere, I’ve looked in my php files, but don’t how to find it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My designed theme is not working properly with wordpress’ is closed to new replies.