• Resolved neilmccreadie a11n

    (@neilmccreadie)


    Hi there,

    I’m using Canvas with Projects by Woothemes and am having a problem in that the sidebar is visible when viewing an individual project. The sidebar is also visible on the page set as the projects page in the settings, even though this page itself is set to have no sidebar. To workaround this I used the shortcode on a normal page set to have no sidebar, but as soon as I view a single project the sidebar comes back in.

    Any ideas, or am I missing something obvious?

    thanks.

    https://www.ads-software.com/plugins/projects-by-woothemes/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter neilmccreadie a11n

    (@neilmccreadie)

    in looking at the canvas portfolio settings as well as the woocommerce settings in canvas, they both have options for setting the page layout, so it seems to me that this needs to be added to the Projects plugin as well in order to control things independently of the rest of the site’s global layout settings. Any chance you could let me know if this will be added to the next release and if so when this might be as I’m needing to use this on a site I’m busy with and was hoping to go live with it in the next few days. Otherwise any interim fix that I can apply?

    thanks.

    Plugin Author James Koster

    (@jameskoster)

    Hi there,

    We don’t be adding those kind of layout options to the plugin as it’s simply not possible to account for all themes.

    FYI specifying a page template will not affect your main portfolio page. The reason being that this isn’t technically a page – it is a post type archive which the portfolio page redirects to – make sense? So to adjust that page you need to use the hooks included in Projects or modify the archive-projects.php template file.

    The same goes for the single pages. You will need to unhook the sidebar or modify the single-project.php template file.

    Thread Starter neilmccreadie a11n

    (@neilmccreadie)

    ok, thanks James – makes sense. will give it a bash.

    Hi James

    I was having the same issue with Canvas and just came across this topic. Given that projects is due to eventually replace the current portfolio functionality, is this going to be the case that we will need to modify things to get rid of the sidebar, rather than just using the built in layout options?

    There are going to be a lot of Canvas users who might be wondering the same so this might be handy to know in your documentation.

    Greg.

    Hi James

    I had a look at the hooks for this and unhooking the sidebar still leaves the body classes for two columns rather than one. Can you advise on the best way to get a single column layout for the main projects page using Canvas?

    Thanks,

    Greg.

    I just want to follow up on what digitalisfun commented on above.

    It’s not enough to unhook the projects_get_sidebar function from the projects_sidebar action as the body tag still carries the “two-col-left” class which impacts the width of the div#main and sets it at 64.89% rather than 100%

    Plugin Author James Koster

    (@jameskoster)

    Hey,

    Once you’ve unhooked the sidebar you just need to add a couple of lines of css.

    Something like

    .post-type-archive-project #main { width: 100%; }

    Thanks.

    Can someone tell me where and how to “unhook the sidebar” – I’m new to hooks, so any help is appreciated! I’m also using the Canvas theme.
    Thanks!

    I’m also new to hooks and looking to accomplish this. Any help on the “unhooking” would be appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘sidebar settings for project pages not inheriting parent page attributes’ is closed to new replies.