• Resolved caleemack

    (@caleemack)


    Hello, i need a help πŸ™‚ For almost all pages on my web I want to use the layout with sidebar on the right side.. that is not problem.. but I would want to use different layout for my homepage (frontpage) – without sidebar (full width)..
    I can “hide sidebar” on homepage but it isn’t enough because the layout is still with the space for sidebar on the right side..

    Is there any way to have “full width” layout for homepage and layout with sidebar for all other pages?

    thank you very much

Viewing 9 replies - 1 through 9 (of 9 total)
  • You should be able to go to you homepage in the pages section of your dashboard, and on the right in the “page attributes” section there is an option under “templates” to change just that page to full width rather than as default for all pages.

    This option can be different depending on the theme, but I think its a pretty common setting.

    Thread Starter caleemack

    (@caleemack)

    my homepage shows newest posts so this solution is not possible for this theme unfortunatelly

    Then I would suggest the “black studio tinymce widget” which allows you to set your homepage as full width, and have widgets added, such as recent posts.

    My website doc2mp3.com uses this plugin in conjunction with the “siteorigins widget bundle” plugin. I’ve simply added a plugin for recent posts even though I removed the default sidbar have it set to full width.

    Here is a asic tutorial on the black studio widget. https://siteorigin.com/page-builder/documentation/

    I hope this helps. I use this widget on all my sites because of how handy it is.

    I edited my last post to correct the names of the plugins. Its very important that you don’t have any spaces between site and origins. Or tiny and mce. if you have a space like when I posted the first time it won’t come up in the plugin search. I tested my new edits by copy and pasting so they are verified as working.

    Thread Starter caleemack

    (@caleemack)

    Hello,
    thank you for your try, but it is not what I need.. I can hide the widget sidebar on the right side of homepage, that is not problem.. But the theme is still using the layout with sidebar, so on homepage i got empty space on the right side.. I need to change layout for homepage only… My default webpage layout is the one with sidebar on the right side. But for the homepage I need to use layout without sidebar… I suppose it should be done with simple editing of code, probably in index.php… but i dont know how exactly.

    Hi,

    Post your website URL.

    Thanks!

    If your homepage is “newest post”, then you need to create a new (or choose an existing) page as your homepage, and select it as a static page.

    Dashboard > Appearance > Customize > Static Front Page > A Static Page

    Then chose which page you want to make your static front page. That way you have a consistent homepage to customize as you wish.

    Thread Starter caleemack

    (@caleemack)

    Hello, thank you for your thoughts, but I got it solved allready..

    This is what helped:
    Put this code into style.css

    .home #secondary {display: none !important; }
    .home #secondary-2 {display: none !important;}
    .home #primary { width: 100%; }

    When you think it doesn’t help, you have to clear your browser cache.

    I am writing the home page for a website using the them Risana and my written content is duplicating itself. The first three paragraphs written in the body of page are reflected in the middle blue box and in the box on the left hand side. Please help.

    http://1stchoicems.com/wordpress1/?page_id=52&preview=tr

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

The topic ‘different layout for homepage’ is closed to new replies.