Shopify themes, liquid, logos, and UX
Trying to margin-top popup from app, not sure why its not moving?
While doing inspect element, I isolated the popup bar code but when adding "margin-top" 150px its not moving? Not sure why?
Password01
.modal-card[data-v-d3db2efb] { background-color: #fff; cursor: default; position: static; /* Ensure it respects the normal document flow */ margin: 1em; margin-top: 150px !important; /* Force margin-top */ box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d; max-height: 90vh; }
Hello @Brian-A
Can you please confirm where you are adding this css
In which file
Kind Regards
Do you want like this?
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
I was looking to put it below the header menu, not sure if it moves with the different screen sizes. I was at the library editing it, margin 150px moved it below.
When adding the code to base.css it looks like it isn't taking effect?
Hey!
So your code looks fine. It works when I use it in the inspector. I don't see your margin-top CSS in your site. Where are you adding it in the code? You can try adding it inline on the card HTMl like: <div data-v-d3db2efb="" class="modal-card" style="margin-top:150px"> . Or show me where you added the code in your theme.
If you want to do this without touching code, you can use EasyEdits . You can make the edits on a free trial and keep them. I'm the dev, fair disclaimer.
Let me know how it goes!
I added it to base.css, but when refreshing its not updating?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024