• Resolved fantasy_5

    (@fantasy_5)


    Hi!

    I have been fighting to remove the sidebar from my posts page, but have had no luck at all.

    I made an effort to remove code from the both the single.php and index.php and nothing happened so I put it back.

    </div>
    <?php get_sidebar(); ?>
    </div> <!– row div end here –>
    removed from single.php goes beneath true

    Removed from main template index.php and goes above get footer

    <?php get_sidebar(); ?>
    </div>

    I installed widget logic and a blank text box at the end of my sidebar widget so that all sidebar items will remain on the about page only, but now I have blank boxes on the posts page and a blank box beneath the sidebar on about page. Without widget logic the Twitter, Archives and other widgets will appear on the posts page. I do not need the archives to appear in sidebar form at all as I have created a menu for the archived posts.

    Also, I have selected full page option in wordpress enigma theme for the blog/posts page and the sidebar still remains. My posts are also left justified and I would like them to be full page. Please help!!!

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    Create a “Child_Theme” first.

    After it create a “page.php” file into your “Child_Theme” directory.

    Now copy the code from this LINK and paste into your “page.php” file of

    your “Child-Theme” directory.

    Save the changes.

    Thanks

    Thread Starter fantasy_5

    (@fantasy_5)

    Hi, weblizar_support!

    Thanks for responding. I’m a newbie and feeling my way around, but I must say that I’m learning a lot. However, I do not know how to create a child theme :/ I read some information about it, but is there a youtube video that you can recommend so that I can view the process step by step?

    Will this code enable me to remove the archives from the post page and create a full width also?

    Thread Starter fantasy_5

    (@fantasy_5)

    Hi, weblizar_support!

    I created the child theme and followed the instructions, but that didn’t work. BTW, I’m using the child theme plugin by lilaea. The link to the code appears to be the same code that exists in the page.php file already. My main goal is to remove the archives from my blog posts page and the possibility of the sidebar and widgets appearing there. I have a sidebar on the about page only and it is fine there.

    I also wish to make the blog full page instead of left justified.

    Here is a list of some of my page options.
    404
    archive
    author-intro
    author
    breadcrums
    category
    comments
    footer
    front-page
    fullwidth
    header
    home-blog
    home-portfolio
    home-services
    home-slideshow
    index
    nocontent
    options-reset
    page-leftsb
    page
    post-content
    post-page
    search
    searchform
    sidebar
    single
    tag
    woocommerce

    Hi,

    Follow this link to create a “Child-Theme”.

    Thanks

    Thread Starter fantasy_5

    (@fantasy_5)

    Hi,

    Thanks for the info. Once the child theme is created is there a short code, etc. that will resolve these issues, what steps should I follow?

    Hi,

    After creating a “Child-Theme” follow the given below instructions:

    Now create a “page.php” file into your “Child_Theme” directory.

    Now copy the code from this LINK and paste into your “page.php” file of

    your “Child-Theme” directory.

    Save the changes.

    Thanks

    Thread Starter fantasy_5

    (@fantasy_5)

    Hi, weblizar_support!

    You have been amazing! I have successfully removed the archives/ sidebar from my blog posts page. I notice that all posts are left justified. Do you have any idea how I can change this? I have selected full page option already and nothing happens. Is this the Enigma theme’s default?

    Hi,

    Thanks for using our theme.

    Yes, its a default setting for post

    Thanks.

    Hi,
    Maybe Ive misunderstood the problem but it seems to me there is a real easy way to do what you want.
    1) From your wordpress dashboard >pages>all pages
    2) >Edit the page in question
    3) See box “Page Attributes”? if not see screen options at the top and make sure page attributes is selected so you can see the options.
    4) In page attributes >Template >Full-Width Page

    Also on the same edit page you can select how the page or any part of it will be justified by using the symbol above the text box.

    Hope that helps

    Thread Starter fantasy_5

    (@fantasy_5)

    Hi, weblizar_support and Mason Lowry!

    Thanks for responding. There isn’t a full width page option under page attributes. The setting only suggests a parent or page order option. Selecting the justify option doesn’t change this. Is there some type of coding that I can put in custom or my child theme that will change this? I am currently using the Enigma theme.

    Hi,

    Here I’m sending a screen-shot LINK.

    Which will be your solution.

    Thanks

    Thread Starter fantasy_5

    (@fantasy_5)

    Hi, weblizar_support!

    For the blog posts page there are different options for page template suggestions… default, page with left side bar, or full width. Unfortunately, none of these options change the fact that all blog posts are left justified.
    I saw this video on you tube that looks as if it can possibly resolve my issue, but I’m not certain how to change the post page only without affecting the rest of the theme.

    See here to view the you tube video

    Hi,

    Please create a “Child-Theme” first.

    Now create a “fullwidth.php” file into your “Child-Theme” directory.

    Now copy the code from this LINK and paste into “fullwidth.php” file of

    your “Child-Theme” directory.

    Now save the changes.

    Thanks.

    I have read the posts here and think I am trying to achieve the same thing, ie. remove the right hand side side-bar options from the blog page. I have completed the following steps but have seen no change.

    Any advice appreciated.

    Jennie

    The page is: https://www.btat.com.au/2016/01/blog-like-lesson-strategies/
    I have copied the given code into this structure:
    enigma-premium/

    enigma-premium-child
    … fonts/ …

    I named the file fullwidth.php and pasted this code
    ‘ <?php //Template Name:Full-Width Page
    get_header();
    get_template_part(‘breadcrums’); ?>
    <div class=”container”>
    <div class=”row enigma_blog_wrapper”>
    <div class=”col-md-12″>
    <?php get_template_part(‘post’,’page’); ?>
    </div>
    </div>
    </div>
    <?php get_footer(); ?>

    Hi@jenie-jo

    you are a Premium Theme User, Please raise your issue on premium Theme Forum.

    Thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘remove sidebar from posts page and make page full width, but no luck ;/’ is closed to new replies.