First time posting here.. I'm an absolute beginner when it comes to website designing in general and it seems i've been somewhat "forced" into utilizing some CSS to get any chance or coming closer to my ideal store design..
I managed to play around with margins, padding whatnot and have a rough idea of what to do to control the display for mobile and desktop versions..
I want my Quantity and Add to cart buttons to be directly under the price and in one line.
Like this.
I have added a markdown block as well as a lightbox text link and embedded them into my main product description window ( instead of having it below the gallery and details ) using this in my footer:
I noticed that if i only play with margins to position my quantity and add to cart where i want them, they move up and down as I expand and collapse my markdowns...I believe its because both quantity and the button are still embedded in the same place ( below the markdowns ) but are forced to appear higher than they actually sit.. How do I go about this? I want to keep the them where they are on the attached photo but at the same time keep my markdowns and lightbox links right below product details..
Any help is greatly appreciated.
once again i've literally discovered css yesterday...
Hello!
First time posting here.. I'm an absolute beginner when it comes to website designing in general and it seems i've been somewhat "forced" into utilizing some CSS to get any chance or comin
https://angeliqueskincare.com/shop
It's open, only the home page requires a password.
Something died since I posted that and the buttons are all in a weird position now but they still move o
I removed everything that affected the quantity box, add to card button and positioning of details outside of title and price.
all that remains now is
.markdown-block p {
margin-left:1.5e
Question
Jarren88 7
Hello!
First time posting here.. I'm an absolute beginner when it comes to website designing in general and it seems i've been somewhat "forced" into utilizing some CSS to get any chance or coming closer to my ideal store design..
I managed to play around with margins, padding whatnot and have a rough idea of what to do to control the display for mobile and desktop versions..
I want my Quantity and Add to cart buttons to be directly under the price and in one line.
Like this.
I have added a markdown block as well as a lightbox text link and embedded them into my main product description window ( instead of having it below the gallery and details ) using this in my footer:
<script>
$(document).ready(function (){
var myBlock = $(".sqs-block-markdown").detach();
myBlock.appendTo(".ProductItem-details-excerpt");
})
</script>
<script>
$(document).ready(function (){
var myBlock = $(".sqs-block-code").detach();
myBlock.appendTo(".ProductItem-details-excerpt");
})
</script>
I noticed that if i only play with margins to position my quantity and add to cart where i want them, they move up and down as I expand and collapse my markdowns...I believe its because both quantity and the button are still embedded in the same place ( below the markdowns ) but are forced to appear higher than they actually sit.. How do I go about this? I want to keep the them where they are on the attached photo but at the same time keep my markdowns and lightbox links right below product details..
Any help is greatly appreciated.
once again i've literally discovered css yesterday...
Link to post
Top Posters For This Question
6
5
Popular Days
Dec 15
11
Top Posters For This Question
Jarren88 6 posts
bangank36 5 posts
Popular Days
Dec 15 2020
11 posts
Popular Posts
Jarren88
Hello! First time posting here.. I'm an absolute beginner when it comes to website designing in general and it seems i've been somewhat "forced" into utilizing some CSS to get any chance or comin
Jarren88
https://angeliqueskincare.com/shop It's open, only the home page requires a password. Something died since I posted that and the buttons are all in a weird position now but they still move o
Jarren88
I removed everything that affected the quantity box, add to card button and positioning of details outside of title and price. all that remains now is .markdown-block p { margin-left:1.5e
Posted Images
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment