• Resolved kerstie

    (@kerstie)


    Hi. This is a really great theme, I would just like to know if it is possible to hide the sidebar when viewing the portfolio projects. I’m using the same portfolio as the one in WordPress.com and it doesn’t give me the option to choose a page template or change the layout using Page Builder. I would like my projects to have the same look as when viewing a full-width template, so that the sidebar widgets doesn’t take away the focus from the uploaded image/s. (Take note: I don’t want the sidebar to be completely removed. I still use it for the blog section.)

    Thank you.

    Kerstie

Viewing 11 replies - 1 through 11 (of 11 total)
  • Theme Author Andrew Misplon

    (@misplon)

    Hi Kerstie

    Thanks for your positive feedback. I didn’t know about this new Jetpack release until right now. I’ll need to take a look at this and decide how best to offer theme support in the next update. For now, as a hotfix, you could add the following to the Jetpack Custom CSS module:

    /* Hide the sidebar for Jetpack single portfolio pages */
    
    .single-jetpack-portfolio #primary {
    	border: none;
    	float: none;
    	padding: 0;
    	width: 100%;
    }
    
    .single-jetpack-portfolio #secondary {
    	display: none;
    }

    It’s not ideal hiding content like this. I’ll either come back to you with a built in theme solution for selecting the page template or I’ll send through a child theme so you won’t have to use CSS to remove the sidebar.

    Chat soon.

    Theme Author Andrew Misplon

    (@misplon)

    If the above CSS doesn’t work, please send through a link to the page in question, thanks.

    Thread Starter kerstie

    (@kerstie)

    It’s working, thank you!

    Now my new concern is that when the image/content is centered, the title and sharing buttons look too far off on the left side of the screen.

    https://kerstiemilana.com/portfolio/spinning-madly

    I’d prefer if it’s a little closer, like when using the Full Width Page:

    https://kerstiemilana.com/contact

    But this can be solved by simply aligning the contents to the left.

    If it’s not too much trouble, I’ll just wait for your alternative solution. I’m not in a hurry and I still like theme, so I will be using it.

    Thanks a lot!

    Theme Author Andrew Misplon

    (@misplon)

    No problem. Try this snippet instead:

    /* Puro Theme: Hide the sidebar for Jetpack single portfolio pages */
    
    .single-jetpack-portfolio #primary {
    	border: none;
    	float: none;
    	margin-right: auto;
    	margin-left: auto;
    	padding: 0;
    	max-width: 71.3889%;
    }
    
    .single-jetpack-portfolio #secondary {
    	display: none;
    }

    Let me know how this goes.

    On an unrelated note; to remove the comment form from your contact page: https://kerstiemilana.com/contact/, click Screen Options top right, ensure Discussion is checked, then scroll down to below the Visual editor an un-check the two checkboxes contained in the Discussion metabox.

    Thread Starter kerstie

    (@kerstie)

    Perfect! Thank you so much!

    And thanks for the tip, but I’ll leave the comment form visible for now. ??

    Should I mark this topic as resolved?

    Theme Author Andrew Misplon

    (@misplon)

    Super, glad that helped. Please leave this open for the moment. I just need to get back to you with a slightly better way of doing this. One that doesn’t involve hiding the sidebar with CSS. I’ll come back to you on this ASAP.

    Thread Starter kerstie

    (@kerstie)

    Okay. Thank you so much!

    Theme Author Andrew Misplon

    (@misplon)

    For sure. I sent through the child theme now. Don’t forget to remove the Custom CSS we added before testing it.

    Thread Starter kerstie

    (@kerstie)

    I just installed the child theme. It didn’t affect the menu and the custom css was automatically removed.

    Thank you so much for all your help!

    Theme Author Andrew Misplon

    (@misplon)

    Super, glad to hear it.

    All the best.

    Thread Starter kerstie

    (@kerstie)

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Is it possible to alter the portfolio project page template?’ is closed to new replies.