Add a class to portfolio shortcode
-
Hi,
I’ve been searching a while for a solution. Without success. I would like to change the styling of the portfolio shortcode (lists). My theme is based on Bootstrap.
So I was thinking I could simply add a class to this little guy. But I can’t figure how to do this:
<div class="portfolio-entry portfolio-entry-column-2 portfolio-entry-mobile-first-item-row portfolio-entry-first-item-row <strong>col-lg-4</strong>">I’d like to get this instead:
<div class="col-lg-4 portfolio-entry portfolio-entry-column-2 portfolio-entry-mobile-first-item-row portfolio-entry-first-item-row">I’m not sure if this is related to this issue: https://wordpress.org/support/topic/customizing-jetpack-portfolio-shortcode?replies=11
My problem is similar to the one described here for the contact forms: https://wordpress.org/support/topic/add-classes-to-jetpack-contact-form-fields
Thanks for your help
Yann
The topic ‘Add a class to portfolio shortcode’ is closed to new replies.