How to align text in collapsible content

Solved

How to align text in collapsible content

CreatorTim
Navigator
471 1 71

Hey, how can I make sure that the heading and the hidden answer are aligned in the same line once it’s opened? I want this to work across all screen resolutions.

CreatorTim_0-1737755253545.png

Here’s my store: https://1049xn-ya.myshopify.com/products/editing-masterclass
(Just scroll all the way down there's the collapsible content section.)

 

Thanks a lot,
Tim

 

Accepted Solution (1)

TheScriptFlow
Shopify Partner
848 63 105

This is an accepted solution.

Hey @CreatorTim this is Qasim a Sr. Shopify developer.

In order to make Collapsible content align with the text the please paste this code in the end of "collapsible-content.css" file.

Here is code 

.collapsible-row-layout .accordion .accordion__content {
    padding: 1.5rem !important;
}

If this was helpful please mark as solution and like it.

- Need a Shopify Specialist? Chat on WhatsApp +923036471248 Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button!

View solution in original post

Replies 2 (2)

TheScriptFlow
Shopify Partner
848 63 105

This is an accepted solution.

Hey @CreatorTim this is Qasim a Sr. Shopify developer.

In order to make Collapsible content align with the text the please paste this code in the end of "collapsible-content.css" file.

Here is code 

.collapsible-row-layout .accordion .accordion__content {
    padding: 1.5rem !important;
}

If this was helpful please mark as solution and like it.

- Need a Shopify Specialist? Chat on WhatsApp +923036471248 Or Email at info@thescriptflow.com

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button!

GTLOfficial
Shopify Partner
878 181 192

Hello @CreatorTim 
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> collapsible-content.css
add this code at the end of the file and save.

.collapsible-row-layout .accordion .accordion__content {
padding: 1.5rem !important;
}

result
185.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh