Static Front Page with sidebar / Alignment without sidebar

Hi,

thanks for the update today!
Couldn’t find my “things” here in the forum - so I’m gonna open a new thread.

I just switched to a static homepage on www.sophiasbutik.se and selected the standard-template with the sidebar, not full-width. But it just won’t show the sidebar. Is it supposed to do that?
http://www.sophiasbutik.se/wp-content/uploads/2014/05/screen01.png

The fullwidth version though doesn’t align properly on the left side. see not my homepage right now and also my woocommerce shopping-basket:
http://www.sophiasbutik.se/wp-content/uploads/2014/05/screen02.png

Is there some css that I can adjust?

I just can’t seem to find the proper solutions myself so I gotta contact you. Hope this in no inconvenience and wish a great evening/morning!

Thanks!

Okej, searched obviously not good enough. Gotta read this one now: https://colorlibsupport.com/t/show-sidebar-on-static-homepage/#post-6038

EDIT: Renaming front-page.php did the trick for the homepage, thanks!

Just gotta figure out the alignment issue on the fullwidth-page.

Ok, I see what is going on. There is container inside container.

You can fix that by removing container class from page-fullwidth.php on line 11.

Leave the rest as it is and let me know if this fixed this problem.

I might as well release this in the next update but there is currently no other bugs to fix, so it might take time until it is released.

Hi, didn’t work unfortunately:
http://www.sophiasbutik.se/wp-content/uploads/2014/05/screen03.png

I’m not a programmer…(sorry!) But with “removing container class” you did mean the whole thing:
class=“site-content container”, or?
That’s how it looks now on my side now:

get_header(); ?>
<div id=“content”>
<div id=“primary” class=“content-area col-sm-12 col-md-12”>
<main id=“main” class=“site-main” role=“main”>

hi
I use sparkling I deleted the sidebar on the home page I want to enlarge the size of the article how can i do? thank you in advance

Hi,

after the theme-update (just about 10 minutes ago), I again changed the name of the front-page.php to get my homepage with the sidebar. And it worked. Partly. Doing that, I get a featured image of a post on top of my “homepage”-post, right under my slideshow (the airplane pic - http://www.sophiasbutik.se).

I can’t figure out how to get it away. Tried to set a featured image for the homepage but that didn’t take it (don’t actually want it either, but thought that would work as a work-around). And I have no idea in which php to search for it.

Any ideas?

Thanks in advance,
Sophia

You don’t need to remove it from code, you can remove it when editing this Page via WordPress dashboard. Just like you add featured images for Posts, now you just have to remove it. No big deal :wink:

Well the image is not there - that’s why I cannot remove it. I have never had a featured image for my homepage. After the update, I tried removing the "plane-"pic by adding a specific featured image for my homepage (thought it might now need one). But that didn’t help.

What you see in screen1.png is the featured image I added as the work-around.
But still - the plane-picture is online.
http://www.sophiasbutik.se/wp-content/uploads/2014/05/screen1.png

In screen2.png I removed it. But still - the plane-picture is online.
http://www.sophiasbutik.se/wp-content/uploads/2014/05/screen2.png

ADDITIONAL INFO: If I don’t rename the front-page.php (thus my homepage does not show the sidebar and goes full-width), the featured imaged (plane-pic) does not show. So that would work correctly. But I do want my homepage to have a sidebar…

I will further investigate this but for now you can remove this code from page.php

<?php the_post_thumbnail( 'sparkling-featured', array( 'class' => 'single-featured' )); ?>

Will get back to this at the end of this week when I will have more time for this.

Alrighty, thanks. Look forward hearing from you - for now this workaround did the trick :slight_smile: