- Posts: 157
- Thank you received: 7
Hikashop Cart Notification Plugin
- wrina iamwe
-
Topic Author
- Offline
Less
More
5 years 5 months ago #331813
by wrina iamwe
Hikashop Cart Notification Plugin was created by wrina iamwe
-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.4.15
Hello,
I have attempted to make div.vex-content larger and to change the color of the buttons, using the following code within Hikashop / CSS Options / Front-end CSS File, and also within my template's CSS. Yet, the vex-content does not increase in size nor does the button color change.
What is the correct css, and where should I place the css code?
Thanks
CODE:
.vex.vex-theme-default .vex-content {
width: 550px;
}
.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary {
background: #30506e;
}
Also attempted
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.4.15
Hello,
I have attempted to make div.vex-content larger and to change the color of the buttons, using the following code within Hikashop / CSS Options / Front-end CSS File, and also within my template's CSS. Yet, the vex-content does not increase in size nor does the button color change.
What is the correct css, and where should I place the css code?
Thanks
CODE:
.vex.vex-theme-default .vex-content {
width: 550px;
}
.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary {
background: #30506e;
}
Also attempted
Please Log in or Create an account to join the conversation.
5 years 5 months ago #331824
by nicolas
Replied by nicolas on topic Hikashop Cart Notification Plugin
Hi,
As the file media/com_hikashop/css/vex.css (where all the default CSS of vex is) is normally loaded after HikaShop's CSS, if you put your CSS in HikaShop's CSS, it will be overridden by the one in vex.css.
So to avoid that, the simplest is to use !important in your CSS so that your CSS takes the priority regardless of whether it's loaded before or after.
www.w3schools.com/css/css_important.asp
As the file media/com_hikashop/css/vex.css (where all the default CSS of vex is) is normally loaded after HikaShop's CSS, if you put your CSS in HikaShop's CSS, it will be overridden by the one in vex.css.
So to avoid that, the simplest is to use !important in your CSS so that your CSS takes the priority regardless of whether it's loaded before or after.
www.w3schools.com/css/css_important.asp
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds