Viewing 7 replies - 1 through 7 (of 7 total)
  • if you don’t want any sidebar at all, remove any get_sidebar(); code from all templates of your theme.

    edit style.css; find:
    #contentwide {line-height:1.6em; margin:0 0 5px 150px; padding:0;}
    change the left margin from 150px to 10px or 20px.

    Thread Starter sam132

    (@sam132)

    Thanks I removed get_sidebar(); from all my templates, I then removed the entire sidebar section from my stylesheet and deleted the sidebar.php code.

    But the little bugger is still appearing.

    Anymore tips?

    Sam

    double check if you have also deleted everything with <div id="leftside" from your templates.

    Thread Starter sam132

    (@sam132)

    Thanks,

    I found it once in the footer and removed it but the sidebar is still appearing.

    Any more tips?

    I hate sidebars!

    Sam

    Thread Starter sam132

    (@sam132)

    I’m having a little trouble installing the form, I downloaded the files and hosted them as well as the lib folder I then copied and pasted the “life-insurance-form.php” into my html page but its showing half code half form it doesn’t seem to be reading the .php files I uploaded.

    Also would you know what I need to do in order to remove the sidebar from my page and align the “Get Your Free Life Insurance Quote” text to the left of the page?

    My url is: http://www.lifeinsurancequotesx.co.uk/

    Many thanks,

    Sam

    Hi Sam – not sure what issues you are having with the form so can’t help you there. The side bar however is an easy fix – check your files, either the header.php (most likely this one) or your index.php and look the the code in your body that says:

    <div id="leftside">
    
    <h2 class="hide">Main menu:</h2>
    <ul class="page">
    <li class="page_item"><a href="http://www.lifeinsurancequotesx.co.uk">Home</a></li>
    
    <li class="page_item page-item-4 current_page_item"><a href="http://www.lifeinsurancequotesx.co.uk/" title=""></a></li>
    </ul>

    Also go into your css file and edit:

    #contentwide {
        line-height: 1.6em;
        margin: 0 0 5px 150px;
        padding: 0;
    }

    to look like:

    #contentwide {
        line-height: 1.6em;
        margin: 0 0 5px 0;
        padding: 0;
    }

    That should fix your ‘sidebar’ however it isn’t so much a side bar as your actual menu so you will have no menu to go to other pages within your website.

    Duncan

    Thread Starter sam132

    (@sam132)

    Hi Duncan,

    I found it in the header file removed it and amended the line height but not the sidebar still shows and my page seems to have gone all weird 🙁 )

    Any advise?

    Sam

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Align Text Where Sidebar Exists’ is closed to new replies.