Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Вопросы по модулю Simple


Recommended Posts

5 часов назад, zMiraii сказал:

1. Как поправить размер кнопок выгделил на скрине 

 

 

По скрину - только фотошопом. 

По адресу сайи помочь было бы проещё, но видимо вы не иещёте легких путей.

Link to comment
Share on other sites

50 минут назад, Vetroff сказал:

 

По скрину - только фотошопом. 

По адресу сайи помочь было бы проещё, но видимо вы не иещёте легких путей.

забыл приложить ссылку( https://shophudabeauty.ru/

Link to comment
Share on other sites


1 час назад, zMiraii сказал:

забыл приложить ссылку( https://shophudabeauty.ru/

 

Конкретно у вас накладываются стили от шаблона к классу .btn

А именно - фиксированная ширина, вертикальные отступы, блок.

Link to comment
Share on other sites

1 час назад, Vetroff сказал:

 

Конкретно у вас накладываются стили от шаблона к классу .btn

А именно - фиксированная ширина, вертикальные отступы, блок.

а как это поправить ?(

Link to comment
Share on other sites


В 30.05.2021 в 01:52, zMiraii сказал:

а как это поправить ?(

костыль, добавить свойство стиль нужным кнопкам.

<button class="btn btn-primary" data-onclick="decreaseProductQuantity" data-toggle="tooltip" type="submit" data-original-title="" title="" style="width: 40px;">
     <i class="fa fa-minus"></i>
</button>

ширину подобрать какая нравится

 

правильнее, добавить свой класс и опрегделить в стилях после опрегделения класса .btn

Link to comment
Share on other sites


В 30.05.2021 в 01:52, zMiraii сказал:

а как это поправить ?(

да и вообещё посмотрел, им разметка полностью кривая

Link to comment
Share on other sites


В 30.05.2021 в 01:52, zMiraii сказал:

а как это поправить ?(

<td class="quantity">
	<div class="input-group btn-block" style="max-width: 200px;">
		<span class="input-group-addon" style="background: transparent;border: none;">
			<button class="btn btn-primary" data-onclick="decreaseProductQuantity" data-toggle="tooltip" type="submit" data-original-title="" title="">
				<i class="fa fa-minus"></i>
			</button>
		</span>
		<input class="form-control" type="text" data-onchange="changeProductQuantity" name="quantity[103]" value="3" size="1" style="height: 60px;">
		<span class="input-group-addon" style="background: transparent;border: none;">
			<span class="btn-group" style="width: 60px;">
				<button class="btn btn-primary" data-onclick="increaseProductQuantity" data-toggle="tooltip" type="submit" data-original-title="" title="">
					<i class="fa fa-plus"></i>
				</button>
				<button class="btn btn-danger" data-onclick="removeProduct" data-product-key="103" data-toggle="tooltip" type="button" data-original-title="" title="">
					<i class="fa fa-times-circle"></i>
				</button>
			</span>
		</span>
	</div>
</td>

костыль конечно, отвык от бутстрапа 3

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.