Categories drop-down list
-
How can I change the size of an element? Height, width.
Attachments:
You must be
logged in to view attached files.
Hi zerr,
Thanks for reaching to us.
First of all, I’m really sorry have taken long time to reply you due to the weekend and I am appreciate your patience.
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
.whb-header-bottom .wd-header-cats.wd-style-1 span.menu-opener{
height: 50%;
}
.wd-header-cats.wd-style-1 span.menu-opener {
padding: 5px 15px;
min-width: 170px;
}
.wd-header-cats span.menu-opener {
max-width: 120px;
}
Regards,
Thanks for the reply. I’ve already solved the issue. I want to share with you what I did.
/* Изменение ширины кнопки категорий */
.wd-header-cats.wd-style-1 .menu-opener {
width: 200px !important; /* Укажите нужную ширину */
max-width: 120px !important;
min-width: 100px !important;
display: flex;
justify-content: center; /* Центрирование текста */
align-items: center; /* Выравнивание по вертикали */
}
.wd-header-cats.wd-style-1 .menu-opener {
border-radius: 5px !important; /* Закругление углов */
}
.wd-header-cats.wd-style-1 .menu-opener:after {
display: none !important; /* Скрывает стрелку в кнопке */
content: “” !important; /* Если у стрелки был контент, он тоже исчезнет */
}
.wd-header-cats.wd-style-1 .menu-opener span {
font-size: 18px !important; /* Увеличиваем размер текста */
text-transform: capitalize !important; /* Первая буква заглавная */
font-weight: normal !important; /* Жирный текст (если нужно bold) */
}
Attachments:
You must be
logged in to view attached files.
Hi zerr,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
The topic ‘Categories drop-down list’ is closed to new replies.