• BEaSTFX

    (@beastfx)


    Hello,

    I want to get rid of a sidebar-pages and posts on this theme: http://www.woothemes.com/demo/?t=15, and increase in the content – the post itself to be bigger. I tried to get only get sidebar on single.php and page.php, but disappear sidebar-a remains the background colors.

    When i click on some category i want to see only the publication title and the image from the posts, so the people can choose easily only by title and image. Is this possible? And how? 🙂

    If someone can help me, write here or on skype: leko_shantav

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • dswordpress

    (@dswordpress)

    That theme is based on images, so to change the width of the background image, you’ll need to open the image that is shipped with the theme, and change it to be wider/bigger.

    You need to use FTP to upload the image and overwrite the theme’s default one.

    Yes, it is possible, if your theme is using the new post_thumbnail function in WP. You will need to edit the archives template and possibly category template if there is one.

    You want to remove the <?php the_content();?> from the templates, and replace with

    <?php
    if ( has_post_thumbnail() ) {
    	the_post_thumbnail();
    } else {
    	// you could put a default image here if you like
    }
    ?>

    Thread Starter BEaSTFX

    (@beastfx)

    When i changed the the_content i got this error

    Fatal error: Call to undefined function has_post_thumbnail() in /usr/home/public_html/wp-content/themes/typebased/single.php on line 23

    Thread Starter BEaSTFX

    (@beastfx)

    This is what happens when i remove the get-sidebar from the pages and posts http://img691.imageshack.us/img691/1102/site1w.jpg How can i correct this replace the left sidebar with white for the container?

    This is what i want for the category

    http://img200.imageshack.us/img200/8274/site2k.jpg

    Just the name and the picture

    Thread Starter BEaSTFX

    (@beastfx)

    Im sorry. I meant to correct this and replace the RIGHT sidebar with white for the container.

    Thread Starter BEaSTFX

    (@beastfx)

    I tried to modify the CCS and the page.php but i couldnt do it right.

    Тhis is my CSS

    http://wordpress.pastebin.ca/1855777

    This is my page.php

    http://wordpress.pastebin.ca/1855778

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove the sidebar from pages and posts’ is closed to new replies.