treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Problems while transfering website to wordpress

  • Hi,

    Am currently in the process of transferring my website over to wordpress. However, I have not got the results I wanted..

    My website.. www.leehughes.co.uk

    As you can see the right hand column has its own space and will expand with the main content when needed..

    This is my transferred website..

    www.leehughes.co.uk/wordpress

    As you can see their are issues with the right hand column.. Any thoughts on how I can make it like the first one?

    I haven't changed any code which confuses me!

    Thanks
  • Start by validating http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.leehughes.co.uk%2Fwordpress%2F
    In your document head you are calling:
    <style type=\"text/css\" media=\"screen\">
    @import url( http://www.leehughes.co.uk/wordpress/wp-content/themes/classic/style.css );
    </style>

    and
    <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\" />
    <link href=\"dropdown.css\" rel=\"stylesheet\" type=\"text/css\" />

    But the last two are giving 404 not found errors.

    Also you are using a jQuery plugin but you don't appear to be loading jQuery.
  • Hi, thanks for the reply..

    Yeah am going through my validation now.. Am down to 10 from 33! Been on it for 3 hours now!! Argghh!!

    Yeah am planning to take that jquery out and use a widget for wordpress.

    Thanks
  • Validation down to 3 errors..

    <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\" />
    <link href=\"dropdown.css\" rel=\"stylesheet\" type=\"text/css\" />


    Deleted..

    And jQuery has gone, however page is still the same..

    Any more suggestions?

    Thanks
  • I still get 4 errors (although they are all actually the same one). That's your problem, you have forgotten to close a div somewhere. The markup is also completely different between the two versions, split the sidebar into two seperate divs like in the original site.
  • Ahh you're using XHTML 1.0 Strict

    Will fix it now :)