Portfolio page is stuck with 2 columns

I added the following code to remove the featured image from the portfolio pages:

.single-x-portfolio .entry-featured {
display: none !important;
}

However, removing the featured image leaves the remaining content squished over into a single column on the right side of the portfolio pages.

How do I get the remaining content to simply display fullwidth?

Hi Omar,

Please try adding this code in the Global CSS:

.page-template-template-layout-portfolio .x-main .x-iso-container .type-x-portfolio {
    width: 100%;
    position: relative !important;
    float: left;
    clear: both;
    transform: none !important;
}

In case this does not sort it, kindly provide the URL of your site.

Thank you.

Thanks!

That changes the main portfolio page, I was referring to the individual portfolio pages. How would I modify the header of this code to specify those pages, and will this code still work there?

Actually, I wanted to update you. I modified your code slightly, and I’m getting a little closer, but I’m not there yet.

Using this code:

.single-x-portfolio .entry-featured {
width: 100%;
position: relative !important;
float: left;
clear: both;
transform: none !important;
}

Gets me closer. This effects the individual portfolio pages, and not the main portfolio page, which is what I wanted. However, it only effects the positioning of the featured image on the individual portfolio page, which is now centered and apparently displaying at its full width.

The subsequent ‘rows’ still display squished over to the right in a column.

Incidentally, I’m trying to have the Featured image display at the top centered as it currently is, and then build the rest of the individual portfolio pages using Cornerstone to add content.

Hey @redrazormedia,

To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

Thank you in advance.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.