remove sidebar from portfolio pages
-
I would really appreciate any help with this.
Since portfolio pages do not include the full-page template option are you able to help me add a css code that will remove the sidebar from portfolio items?
many thanks.The blog I need help with is: (visible only to logged in users)
-
Hi,
Thank you for using Hermes theme!Could you please post a link to your portfolio page?
Thanks,
Tars -
Hi,
Thank you for the link!
Each post has its own unique ID (Simply open your Post in Dashboard. The address bar of your browser will display a URL with a numeric ID at the end).
For example (based on the link you’ve posted):
.postid-1719 .sidebar-section { display: none; } .postid-1719 .content-area { margin: 0 auto; float: none; }Where 1719 is Post ID. But this hack will only remove the sidebar, and change the position of your content.
Hopes this helps.
Best,
Taras -
Amazing thank you, and thanks for explaining the post ID too.
I love the theme, and this edit finishes it off nicely for my site.
To take it off all portfolio posts i have edited your css to
.single-jetpack-portfolio .sidebar-section {
display: none;
}.single-jetpack-portfolio .content-area {
margin: 0 auto;
float: none;
}thanks again.
Dougie -
- The topic ‘remove sidebar from portfolio pages’ is closed to new replies.