Change Column Width in Portfolio Item

Hi there!

I believe Gym Portfolio items are set to 2/3 (featured image) and 1/3 (content).

I found a helpful post which contained the following suggested code for switching to a single column full width:

.single-x-portfolio .entry-featured,
.single-x-portfolio .entry-wrap {
float: none;
width: 100%;
margin: 0 auto 30px;
}

Can you please suggest a code to adjust the current 2 column width to 1/2 (image) and 1/2 (content)? Thanks so much!

Susan

Hi Susan,

Thanks for writing in! Try adding the following CSS rule into your X > Theme Options > CSS area instead and see if that helps.

.single-x-portfolio .entry-featured {
    width: 50%;
}
.single-x-portfolio .entry-wrap {
    width: 50%;
}

Hope that helps.

Perfect! Thank you!

Glad that w could be of a help :slight_smile:

1 Like

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