Shopify themes, liquid, logos, and UX
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:
Solved! Go to the solution
This is an accepted solution.
Hey @MS-Ecom2024
Apologies for the confusion, update the code like this and it should be all good then!
<style>
button.collapsible-toggle.text--strong {
border: solid 1px black;
border-bottom: 0;
}
.faq__item .collapsible__content {
border: solid 1px black;
border-bottom: 0;
border-top: 0;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
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!
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 </body> tag
<style>
button.collapsible-toggle.text--strong {
border: solid 1px black;
border-bottom: none;
}
</style>
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.
<style>
button.collapsible-toggle.text--strong {
border: solid 1px black;
border-bottom: 0;
}
.faq__item .collapsible__content {
border: solid 1px black;
border-bottom: 0;
}
</style>
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!
This is an accepted solution.
Hey @MS-Ecom2024
Apologies for the confusion, update the code like this and it should be all good then!
<style>
button.collapsible-toggle.text--strong {
border: solid 1px black;
border-bottom: 0;
}
.faq__item .collapsible__content {
border: solid 1px black;
border-bottom: 0;
border-top: 0;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024