4Gen Posted October 25, 2023 Share Posted October 25, 2023 Hey, friends! I've got a page with a couple images next to an accordion style information block. When you open up one of the accordion FAQ's and the info drops down, the images expand and move down the page with the text. I really don't like the way that looks and would like to add a custom code somehow that keeps those images in place so they don't move with the text. I've added a couple images to try and show what I'm talking about. Any help at all would be great appreciated. Thanks! Link to comment
tuanphan Posted October 27, 2023 Share Posted October 27, 2023 Hi, Can you share link to page in screenshot? 4Gen 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
4Gen Posted October 27, 2023 Author Share Posted October 27, 2023 @tuanphan Page - https://www.thekingscigar.com/the-kings-cigar-membership Link to comment
Solution tuanphan Posted October 29, 2023 Solution Share Posted October 29, 2023 On 10/27/2023 at 10:33 PM, 4Gen said: @tuanphan Page - https://www.thekingscigar.com/the-kings-cigar-membership Try adding this code to Website Tools (under Not Linked) > Custom CSS /* Fix image next to accordion */ @media screen and (min-width:992px) { div#block-yui_3_17_2_1_1698192694970_8307 img { height: 400px !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
4Gen Posted October 29, 2023 Author Share Posted October 29, 2023 I don't know how but that worked. hahah Thanks! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment