Hey guys, I want to add a frame to every question on the Q&A. I would be happy if someone could solve this problem for me.
Thats the state right now:
The reference:
A user seeks help adding borders/frames around individual questions in a Q&A section on the Focal Shopify theme.
Initial Solution:
.collapsible-toggle with a 1px solid black border and 5px bottom marginMobile Issue & Fix:
.faq__item with !important flag to ensure proper renderingResolution:
Hey guys, I want to add a frame to every question on the Q&A. I would be happy if someone could solve this problem for me.
Thats the state right now:
The reference:
@MS-Ecom2024 you can the following code to the theme’s or section custom css:
.collapsible-toggle{
border:1px solid #000000;
margin-bottom:5px;
}
The margin value is for the spacing between the questions.
Unfortunately it just works on desktop view. On mobile view it hasn’t the right position.
Thanks
@MS-Ecom2024 so my first reply was 50% right or 50% wrong? ![]()
for mobile, you’ll have to use the following code:
@media screen and (max-width: 740px){
.faq__item {
border: 1px solid #000!important;
margin-bottom: 5px;
}
}
Danke dir, ich habe aus Versehen im deutschen Forum gepostet. Sollte passen der Code! ![]()