• I am new to WP and have a client that needs his site that I created in HTML and CSS converted to WP. I have watched countless videos and have many books but am really stuck on how to get this done correctly.

    The original site can be viewed at https://foxdenwebsolutions.com/CACNR/index.html

    So far I have the following pages – header.php, index.php, sidebar_left.php, sidebar_right.php, footer.php functions.php.

    header.php

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    My css is broken down into 3 separate pages for responsive design and I have flexslider at the top of the page so have the css for that.

    As you can see, this is a very unique design and right now I am having problems getting the sidebars to show. Please can someone show me the correct code in order to get these to work? The left sidebar will be for News items that the client wants to add and the right sidebar will be for the search, links that the client wants to add, a calendar, RSS feed, and whatever else he may want.

Viewing 8 replies - 46 through 53 (of 53 total)
  • Have you validated it? Poor IE behavior is often mark-up or CSS errors.

    https://www.w3schools.com/

    if you have browser display problems, try and check the validity of the code: https://validator.w3.org/
    then fix any errors which might show up in the report.

    https://codex.www.ads-software.com/Validating_a_Website

    Thread Starter foxden vixen

    (@foxden-vixen)

    I had a comment at the beginning of index.php and it was throwing off IE8 & IE9. Everything is fine now except that stupid header for the calendar. I cannot get it to match the header in the text widget for links above it.

    Looks exactly the same on my machine — FF on mac.

    Thread Starter foxden vixen

    (@foxden-vixen)

    The header should be down a bit so that you cannot see the rounded corners of the top of the background. Now in IE8 and below everything will be squared because the browsers done’t understand things like border radius.

    I don’t see the top rounded corners below the header…

    If it’s just an IE8 and below issue, you probably need to use Conditional Comment CSS…https://codex.www.ads-software.com/Conditional_Comment_CSS.

    Thread Starter foxden vixen

    (@foxden-vixen)

    The “header” for calendar has been fixed.

    Now my current problem. This is a site with a home or index page and 5 other pages. I want the center section of the index page to show recent posts to the other pages but I am lost as to how to set up the other pages. The nave at the top and the bottom of the index.php page should link to these other pages. Have I messed myself up by starting with the index.php page that way it is? Remember the link to the live test site is https://foxdenwebsolutions.com/test.

    Thread Starter foxden vixen

    (@foxden-vixen)

    I have been doing lots of reading and may have made a mistake creating the index.php as I did. Looks like I have to create a home.php page to be the first page and alter the index.php page to just add new post info in the middle section of the home.php page. All other pages will be static pages. This site is NOT to be a blog at all but more of a “business’ site. Is it possible to strip down the index.php page to just pick up info that has been posted on the other pages as sort of a preview? If it can be stripped down, then I am thinking just have The Loop info on that page. Everything else goes away such as the get header, get sidebar, and get footer. Please let me know if I am thinking this through correctly?

Viewing 8 replies - 46 through 53 (of 53 total)
  • The topic ‘HTML to WP having problems’ is closed to new replies.