• Resolved X3Don-TanX3

    (@x3don-tanx3)


    i used the page.php method to make this but the sidebar background is still there what can i do ? i use the traction theme

Viewing 9 replies - 1 through 9 (of 9 total)
  • The sidebar should not display if you removed it correctly from your page.php, can you post your website URL here.

    Thread Starter X3Don-TanX3

    (@x3don-tanx3)

    possibly add this to style.css – assuming that the wide pages always use the same page template:

    .page-template-page-wide-php #main,
    .page-template-page-wide-php #main-bottom
    {background:#f5f5f5;}
    .page-template-page-wide-php #main
    {margin-top:-7px;}
    Thread Starter X3Don-TanX3

    (@x3don-tanx3)

    IT HELPED BOAH YES you´re a lifesaver dude XD

    Thread Starter X3Don-TanX3

    (@x3don-tanx3)

    ah one last question uhmm how do i get the rounded corners back ? ^^

    Go to sidebar.php and remove the content

    how do i get the rounded corners back

    you need to create new background images wide-main-???.png starting with these images:
    #main-bottom
    /images/main-bottom.png

    and for
    #main
    /images/main-body.png

    and for
    #main-top
    /images/main-top.png:

    and add these styles to style.css:

    .page-template-page-wide-php #main-top
    { background-image: url(images/wide-main-top.png); }
    .page-template-page-wide-php #main
    { background-image: url(images/wide-main-body.png); }
    .page-template-page-wide-php #main-bottom
    { background-image: url(images/wide-main-bottom.png); }

    if you add the new styles to /wp-content/themes/traction/stylesheets/master.css, you might need to use this for the image urls:
    url(../images/wide-main-bottom.png);
    etc.

    Thread Starter X3Don-TanX3

    (@x3don-tanx3)

    haha lol i was doing this right now XD thx dude i owe you one XD

    Thread Starter X3Don-TanX3

    (@x3don-tanx3)

    and… of course it worked thanks again

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

The topic ‘Removing sidebar at some pages’ is closed to new replies.