How To Add A Frame To Every Question On The Q&A On Focal Theme

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:

Hey @MS-Ecom2024

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hey Moeed, there is a little issue occuring with this code. As you can see the bottom line of the last question disappears. Furthermore if you open the question the line doesn’t apply to the answer. Thanks for your help!

The last questions:

Reference:

Hey @MS-Ecom2024

Remove the previous code and add this updated code with the same steps.


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Thanks my man but between the question and the answer shoudn’t be a line. Just for the questions and after opening one, a border to “everything” regarding this question with the answer.

Thanks!

Hey @MS-Ecom2024

Apologies for the confusion, update the code like this and it should be all good then!


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @MS-Ecom2024

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.faq__item {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    margin: 5px 0 !important;
}

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!