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

Как пофиксить это?


rakkal
 Share

Recommended Posts

Всем привет! Столкнулся с икой проблемой, как несоответствие гдесктопной версии сайи с мобильной(

Как пофиксить текст? У меня не ик много категорий, чтобы добавлять эту кнопку вообещё. Можно ли ее убрать и на ее место посивить категории? А если это нереально ,то как изменить цвет кнопки на черный?

Link to comment
Share on other sites


Меняйте на ваш вкус 

#menu .btn-navbar {
	font-size: 15px;
	font-stretch: expanded;
	color: #FFF;
	padding: 2px 18px;
	float: right;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
}
#menu .btn-navbar:hover, #menu .btn-navbar:focus, #menu .btn-navbar:active, #menu .btn-navbar.disabled, #menu .btn-navbar[disabled] {
	color: #ffffff;
	background-color: #229ac8;
}

 

Edited by Andrey174
Link to comment
Share on other sites


catalog/view/theme/default/stylesheet/stylesheet.css

 

#menu #category {
    float: left;
    padding-left: 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

Link to comment
Share on other sites

13 минут назад, Andrey174 сказал:

Меняйте на ваш вкус 

#menu .btn-navbar {
	font-size: 15px;
	font-stretch: expanded;
	color: #FFF;
	padding: 2px 18px;
	float: right;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
}
#menu .btn-navbar:hover, #menu .btn-navbar:focus, #menu .btn-navbar:active, #menu .btn-navbar.disabled, #menu .btn-navbar[disabled] {
	color: #ffffff;
	background-color: #229ac8;
}

 

А впринципе можно убрать ее? 

Link to comment
Share on other sites


22 minutes ago, rakkal said:

А впринципе можно убрать ее? 

ошибся не тот участок кода вам дал

Вы меню в мобильной версии хотите убрать?

Link to comment
Share on other sites


2 минуты назад, Andrey174 сказал:

ошибся не тот участок кода вам дал

Вы меню в мобильной версии хотите убрать?

да, необходимо осивить ПИЦЦА КОМБО НАПИТКИ. Осильно желательно убрать.

Link to comment
Share on other sites


28 minutes ago, rakkal said:

да, необходимо осивить ПИЦЦА КОМБО НАПИТКИ. Осильно желательно убрать.

 

 Если вы удалите меню то и ПИЦЦА КОМБО НАПИТКИ тоже само силий удаляются. Измените цвет шрифи на черный.

 

или сгделать ик

Edited by Andrey174
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.