WordPress Shrink/Grow with accordions

ABSolutions
22 Posts
ABSolutions posted this 15 June 2020

Hey - I know I have asked this question for Joomla, but I have the same issue with WordPress. I want the page to expand when an accordion is opened (which it does), but shrink when the accordion is closed (which it doesn't. The fix in joomla was to add this bit of code to the CSS:

.separated-item-38.col-md-12.first-col.last-row.last-col {
min-height: 100px!important;
}

I wonder if you can help me with the WordPress version of this fix.

Hey - I know I have asked this question for Joomla, but I have the same issue with WordPress. I want the page to expand when an accordion is opened (which it does), but shrink when the accordion is closed (which it doesn't. The fix in joomla was to add this bit of code to the CSS: .separated-item-38.col-md-12.first-col.last-row.last-col { min-height: 100px!important; } I wonder if you can help me with the WordPress version of this fix.
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 16 June 2020

Hello Anthony,

The code would depend on the specific code of the page. Could you please provide the link to the page?

Gina
Themler support

Hello Anthony, The code would depend on the specific code of the page. Could you please provide the link to the page? Gina Themler support
ABSolutions
22 Posts
ABSolutions posted this 16 June 2020

Here you go:

http://create.absweb.ca/contact-us/

AB

Here you go: http://create.absweb.ca/contact-us/ AB
Support Team
Support Team posted this 17 June 2020

Code is same, just replace 38 with 21:

.separated-item-21.col-md-12.first-col.last-row.last-col {
min-height: 100px!important;
}

Gina

Code is same, just replace 38 with 21: .separated-item-21.col-md-12.first-col.last-row.last-col { min-height: 100px!important; } Gina
ABSolutions
22 Posts
ABSolutions posted this 17 June 2020

Thanks - worked perfectly!

Thanks - worked perfectly!
jcamino
10 Posts
jcamino posted this 3 days ago

Just to update, the code still works perfectly and solve the "shrinking page when the accordion is closed" Wordpress / Themler problem. Thanks.

Just to update, the code still works perfectly and solve the "shrinking page when the accordion is closed" Wordpress / Themler problem. Thanks.
You must log in or register to leave comments