stanley64
Forum Replies Created
-
OK so now I have tried this plugin on another site using twentyseventeen and I can’t get a sidebar to even display!
I have managed to get this to work – sort of! But not how I want. Someone else has posted they are using twentyseventeen and their sidebar appears on the right, but mine is on the left. The only way I can get this plugin to work ‘correctly’ is to switch to 2 column mode – which is not what I wanted. Also, I do not want the sidebar to appear on the left. I need it to position on the right, like it does on the posts! If I switch to single column mode I just get the sidebar above the page content and running full width. If I remove the code:‘…if ( is_active_sidebar( ‘pages-sidebar’ ) && is_page() ) {
$classes[] = ‘has-sideba’…’ from functions.php in the child theme, it positions the sidebar squashed up against the right side of the content as described in my first post.that’s odd, yours showing on the right, because I am using twentyseventeen too, and after resolving a previous issue where the content would be pushed below the base of the sidebar I now find I have got it to work, by switching to 2 column mode, BUT it is on the LEFT side and I want it on the right!! Most frustrating. I don’t want the sidebar at the top on a mobile device.
- This reply was modified 7 years, 4 months ago by stanley64.
Hi
Thanks for your reply.
I am happy to raise a ticket. In the meantime I’ll explain a little more clearly. I have set up a custom sidebar that works great in all pages apart from the front page. In twentyseventeen I have, for example, a contact page with a custom sidebar that appears under the page title – the site is in two column mode. So I have a form on the right and the widget appears on the left, under the title. Perfect! In order to achieve the same on the front page I am instructed to target the front page in the custom sidebar widget – to tell it where to appear. This is required because, unlike the other pages, you cannot select a sidebar in the edit page.
i did this and it didn’t work. I tried various fixes i found from searching the web, including the one I posted above. Nothing works. I watched a Youtube video of someone successfully achieving what I want without any problems so I am baffled. Playing around with the various fixes, at one point, I did manage to get the sidebar to appear – not under the page title but under the page content, as if all it needed was a ‘float:left’. Annoyingly I have forgotten which fix I tried that did this.
Hope some of this makes sense.