Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #501106

    Hi, I am listing blog posts based on taxonomy in portfolio posts. I am also listing posts in a page with a sidebar (works fine and are aligned left). Since I dont use sidebars in the portfolio post the post listing shows as centered. How can I get the posts aligned left there too?

    Thanks:)

    Elise

    #501196

    Hi Elise!

    Set the page to display a sidebar and then hide it via CSS. That will give the posts the left aligned style like your wanting. If your not sure of the CSS then go ahead and set the sidebar and let us know when your done and we’ll take a look.

    Cheers!
    Elliott

    • This reply was modified 9 years, 2 months ago by Elliott.
    #501247

    Great idea,

    Could you pls send me some CSS to exclude sidebars on portfolio posts only?

    Thanks:):)

    Elise

    #501614

    I tried this CSS snippet:

    .portfolio-overview .sidebar{
    display: none;
    }

    But it does not work…

    #501626

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .page-id-183 .sidebar {
        display: none!important;
    }

    Best regards,
    Yigit

    #501728

    Hi, I need it for all portfolio-items. And I am using !important..

    Elise

    #501940

    Hey!

    You need to hide it on portfolio item pages? You can use this:

    .single-portfolio .sidebar { display: none !important; }
    

    Best regards,
    Ismael

    #502290

    Hm – still showing the right sidebar: http://clemenskraft.no/portfolio-item/vassvore-i-voss/

    Best Elise

    #502500

    Hi!

    The sidebar is hidden when I checked the page. Maybe, you’re referring to the gap next to the main content. Add this in the Quick CSS field:

    .single-portfolio .container .av-content-small.units {
        width: 100%;
    }

    Regards,
    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.