If you have a look on
http://wehaveanysticker.com/index.php?route=product/product&product_id=52
on my colour options down the right i want to be able to move everything close together (remove the space between the radio check and the actual image)
i know its this code here in product_options.tpl but i cant get it to move closer
<table class="option-image">
<?php foreach ($option['option_value'] as $option_value): ?>
<tr>
<td style="width: 1px;"><input type="radio" name="option[<?php echo $option['product_option_id']; ?>]" value="<?php echo $option_value['product_option_value_id']; ?>" id="option-value-<?php echo $option_value['product_option_value_id']; ?>" /></td>
<td><label for="option-value-<?php echo $option_value['product_option_value_id']; ?>"><img src="<?php echo $option_value['image']; ?>" alt="<?php echo $option_value['name'] . ($option_value['price'] ? ' ' . $option_value['price_prefix'] . $option_value['price'] : ''); ?>" /></label></td>
<td><label for="option-value-<?php echo $option_value['product_option_value_id']; ?>"><?php echo $option_value['name']; ?>
<?php if ($option_value['price']): ?>
(<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>)
<?php endif; ?>
</label></td>
</tr>
<?php endforeach; ?>
</table>
any help thanks!
-
This reply was modified 4559 days ago by s31teg.
-
This reply was modified 4559 days ago by s31teg.
-
This reply was modified 4559 days ago by s31teg.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
that done the trick, just how to get the text on 1 line to bring everything up nice and close…?
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
thanks, that sorted the text in one line but the bounding boxes are still to big, how can i make these as small as possible to bring all the options closer together?
added an attachment to show you what i mean
once again big thankss!!!!
|
|
Hi, s31teg
May i know how you move the “Cart | £0.00″ to top and it give move space for the main menu.
Any help, thanks
|
|
@msngmedia
this is just standard i think in the version im using, you on latest version?
|
|
Hi, s31teg
I am using Shoppica 1.0.10 now and will upgrade to 1.0.11. after move the cart to the top and it can add more button on the main menu
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
thanks alot
just a little typo you had with “widht” just incase anyone else uses it, also made the margin in the middle
here the modified code
.option-image label {
overflow: hidden;
width: auto !important;
white-space: nowrap;
}
.option-image label img {
margin-middle: -16px;
}
again a* support!!
|
|
ah i tell a lie, need to be margin-top otherwise adds a load of white space back in but does not look right being offset down the bottom
how can i make it all justified in the middle?
|
|
Hi,
We have missed the height value for the label. Edited the post above.
Best,
ThemeBurn team
|
|