So I'm trying to code an "add to cart" area, where you can select between a few product options and then click a button and add them to the cart.
<form class="add-to-cart-form">
<select class="product-select-dropdown">
<option> select your option </option>
<option value="onewk"> 7 Nights</option>
<option value="twowk" selected> 14 Nights </option>
<option value="fourwk"> 28 Nights</option>
</select>
<input type="submit" value="submit">
</form>
The only CSS I have it to generally style it, but I'm having a lot of issues with the dropdown/arrow itself.
This is the default select that was there, and the arrow has a weird gap between itself and the select box, and additionally, clicking on the arrow doesn't do anything, you have to click on the select box to get it to drop down. I want the arrow connected to the select box and to initiate dropdown when it is clicked.
Is there CSS I don't know about that's doing this? (I am working on a big site with a lot of files that I didn't all create.) If so, how do I clear it, or how do I move the arrow and restore functionality?
EDIT: would it be better to hide/remove the arrow element completely, and add a custom dropdown arrow?
When adding the extra padding to the inside box, this is what happened.
.product-select-dropdown{
border: 1px solid #000000;
height: 33px;
font-size: 14.3px;
border-radius: 0;
background-color: #FFFFFF;
line-height: 1em;
padding: 9px 13px 6px;}
This is the CSS I had on the original, but, as I said, I'm working from a website I inherited (run on wordpress) and there are a lot of files and CSS that could be applying here that I'm not aware of. I'm an intern, and i'm relatively new. (I appreciate the help!!)