kirsten123456
Coder
Hello! I have put in custom code to my Shopify website. It's a field for Gift Messages, with the following placeholder text:
"To:
Message:
From:"
At the moment, the text isn't aligning to the left.
"To" is aligned to the left, but "Message & From" are indented quite significantly. I can't workout why my code is making this happen. Please help!!!!
You can see how it's displaying here (scroll down to gift message):
https://www.giftfox.com.au/products/neoprene-picnic-blankets
This is the code:
"To:
Message:
From:"
At the moment, the text isn't aligning to the left.
"To" is aligned to the left, but "Message & From" are indented quite significantly. I can't workout why my code is making this happen. Please help!!!!
You can see how it's displaying here (scroll down to gift message):
https://www.giftfox.com.au/products/neoprene-picnic-blankets
This is the code:
HTML:
{% if product.tags contains "message" %}
<p class="line-item-property__field">
<label for="gift-message">Gift Message</label>
<textarea id="gift-message" name="properties[Gift Message]" style="width: 800px; text-align:left "placeholder= "To:
Message:
From:">
</textarea>
</p>
{% endif %}
Last edited by a moderator:
