Expand First Item by default
-
I’m using a repeater custom field (from the advanced custom fields plugin) to dynamically populate the page below with collapsible content (click a thumb to the left to reveal each portfolio).
However, I’m trying to figure out how to make the first thumbnail expanded on page load so that the middle area isn’t just blank white.
I’m not using shortcodes (it’s all coded in the template file) so ‘expanded’ won’t work as a shortcode attribute.
I tried doing this with CSS but the dynamic inline display styles overwrite it.
https://dev.pchi.com/portfolio/
https://www.ads-software.com/plugins/jquery-collapse-o-matic/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Expand First Item by default’ is closed to new replies.