I would like to change the background color of the Holiday Box. It is currently yellow with white text, so it does not pop on my site like I would like. Do you have a way to change the color of background and text?
Thanks!!
Holiday - Promotional Message
Color change for Holiday Message background - Holiday - Promotional Message
-
jcarndt
- Member
- Posts: 29
- Joined: Tue Mar 09, 2021 7:12 pm
- Phoenix Version:
- Contact:
Re: Color change for Holiday Message background
Hi,
This is not a specific question for this addon. It's more a general question like "how to change background colours of modules?".
However I'll give you a short guidance:
The background colour and text colour is defined by the classes "text-white" and "bg-warning" you'll find in the addons module template:
includes\modules\content\header\templates\tpl_cm_header_holiday.php line 2.
These are standard bootstrap classes you can change to any other predefined class which bootstrap provides.
See under "Card styles" at this resource:
https://getbootstrap.com/docs/4.6/components/card/
If none of the predefined bootstrap styles fit your needs, you need to make your own class with the background/text colours you need and add it to the above line and your user.css.
See instructions how to do it here:
https://phoenixcart.org/phoenixcartwiki ... and_Colour
You should also use a copy of the template placed in the override template for your modifications. It avoids your changes being overridden when you update the module in a future.
If you need further help, please post in the general forum, as this is not specific to this addon.
This is not a specific question for this addon. It's more a general question like "how to change background colours of modules?".
However I'll give you a short guidance:
The background colour and text colour is defined by the classes "text-white" and "bg-warning" you'll find in the addons module template:
includes\modules\content\header\templates\tpl_cm_header_holiday.php line 2.
These are standard bootstrap classes you can change to any other predefined class which bootstrap provides.
See under "Card styles" at this resource:
https://getbootstrap.com/docs/4.6/components/card/
If none of the predefined bootstrap styles fit your needs, you need to make your own class with the background/text colours you need and add it to the above line and your user.css.
See instructions how to do it here:
https://phoenixcart.org/phoenixcartwiki ... and_Colour
You should also use a copy of the template placed in the override template for your modifications. It avoids your changes being overridden when you update the module in a future.
If you need further help, please post in the general forum, as this is not specific to this addon.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Contact: