Just change homepage template
-
How can I just change the homepage template to “Full Width” even though the default template is Content / Sidebar?
-
You are my hero ??
it works!
TnxNo worries sorry for the elongated fix! Marked this as resolved so other people can look at the fix!
Paul, because of the CSS change -meant for the homepage- it looks like the default template (content/sidebar) gets overruled by this code:
.threefourthcol {
width: 100%;
}The normal contentpages don’t show the default template when I place widgets in the sidebar. Those widgets appear under the left content column.
Do you know how to get the widgets next to the content with the template content/sidebar? Except for the homepage ?? That one is okay now!
When you say “under the left column” do you mean they do not appear on the side at all and that they get pushed to the bottom of the page?
Yes, that’s what I mean. White space on the right side and the widgets pushed down under.
Im not sure if this helps, though I had a very similar issue as you as you can see from the earlier posts. This fixed my page up perfectly.
example.. https://globallingos.com/classes/live-classes/
I put it in the Appearance/Theme optins/layout. Then down the bottom of that page there is a custom CSS section (You do use Pinboard right?)
.twocol { width:32% }
Also I had my default layout as ‘Full width’ which you can find on the same page as you put the custom CSS. and I has the actual page where I want the widgets neatly on the right as Content/sidebar.
Hope that helps..
..hope you gus resolved this? Really, it’s not a good idea messing with the native css pages, because you will have to keep track of that in case of UPDATES, which destroys all your work.. So only use the “custom css ” field under : Theme Options >> Appearance >> Layout to insert code. To address the original problem: Set homepage to full template. First of all most times you install this theme there is no static “Homepage” already there. Simply edit the “Sample” page it to your needs, then re-name it HOME. Then edit the MENU to include and reflect the change. Hope this helps. Most time the theme displays the “empty” home page with the WIDGETS showing. The widgets are showing usually 1 full post , then the Links in grid view to category pages or whatever they have been set to. Hope this helps. If you use a static home page you can do whatever you like with it. If you want to include other posts there use SHORTCODES, or widgets, hope that helps.. Look at the possibilities of the Pinboard theme on my site: https://www.artandcraftconnection.com
Hi Harmutnz..
Could you please explain this step that you have jsut mentioned?
“Simply edit the “Sample” page it to your needs, then re-name it HOME. Then edit the MENU to include and reflect the change”.
I was always wondering how to find my “Home page” in the admin.
Thanks
There is no home page really… what you see originally is the “sample” page. If you re-name it HOME in the Title , set the HOME page as your static page in THEMES >> CUSTOMIZE, it will be your home page. Then Go to APPEARANCE >> MENUS >> and create a new menu. Then add the pages (from the list on the right)you want and save the menu. Then there is a field on the right where you determine what menu to use on the top navigation bar.. set it to the menu you created. Done. Have fun!
Paul described a solution for a post (landing)page (not a static page).
1. This code removed the sidebar from the landingpage
<?php get_sidebar(); ?>2. To show 3 columns on a row on the landingpage I had to add this code in the CSS
.threefourthcol {
width: 100%;
}3. My default layout template is ‘Content/Sidebar’ with 3 content columns.
When I select ‘default template’ on a page, the widgets in the sidebar of a page show perfect next to the content.BUT: on the landingpage the 3 posts don’t appear in one row next to eachother. The 3rd post is pushed to the bottom of the page.
If I change the content columns to 4, the landingpage is okay. BUT the rest of the contentpages is not. Then the sidebar gets pushed under te content…My question:
Do I need to change this code, so the landingpage shows 3 columns?
.threefourthcol {
width: 100%;
}My next question:
Or is the only solutions: make a static homepage?
Where do I find “sample” page, so I can change the title in ‘Home’ (etcetera)?@Hartmutz: This will only work for a static page also there is no editing of native css style sheets in this thread. The only native page that was edited was the php page which is such an easy fix that when you do update the theme it takes less than 2 seconds to do the same thing. Alternatively you could download the child theme plugin and then upload a new php page to that which will override the pinboard php page (which is what I do).
@angus your css fix is great but it does this on every page which will not fix the issue if you have multiple pages and want the sidebar on those pages but not the index page.
Here is a link where they are dealing with the same issue.
https://www.ads-software.com/support/topic/how-to-remove-sidebar-on-1-page-and-keep-it-on-the-othersThanks Paul, great help! I’ll give the child theme a go, because in the long run it’s the best solution as you say..
Now, this thread has become a bit of a mess. Lets get back to the start. The question was how to get a homepage with no sidebars and 3 columns. OK, with a fresh installation, add pinboard as theme. Then to set the home page either static or dynamic, go to: APPEARANCE >> THEMES >> Customize . Click Customise button. On the right side you have options: Static Frontpage OR Your latest posts. Click whatever you like! If you choose a static Frontpage you select the page SAMPLE. This is you actual static home page! Click Save and Publish – Then go back to the admin panel DASHBOARD, click on: EDIT YOUR FRONTPAGE it is the first link.
– Your Frontpage pops up. Change the TITLE on top from “sample page” to HOME or whatever you like to call it. If you call it Home it will make a navigation button : HOME on your website. Choose the template on the right: Set it to NO SIDEBARS , save the page or publish.
This will look like: https://www.artandcraftconnection.com/restaurant5/DONE – to set 3 columns: GO TO >> APPEARANCE >> THEME OPTIONS >> LAYOUT – Scroll to where it says: Grid Layout Dimensions >> Content Columns: and set to 3 – DONE, set more options there if you like and save..
This should all be working now. You can play around with more options in the Layout Options, Design, General and Typography on the THEME OPTIONS page.
Also be aware to set the amount of posts you want to show on the homepage, this is set in theme options >> General: where it says: Home Page >> Full posts to display: xxx Full posts to display before grid, set the xxx to the number you want. it will show a thumbnail of your Featyured image and a small excerpt, linking to the post pages.
See how this looks on my site:
https://www.artandcraftconnection.com/ (The only difference is that I use the sidebar)
Hope this helps anyone, cheers, Groogo
- The topic ‘Just change homepage template’ is closed to new replies.