To customize the calendar widget colours you will need to make few changes in your store theme. Following are the steps to customize the calendar widget colours.
1. Login to your Shopify account and go to Online store > Themes > Actions > Edit code. Next go to Assets and click in "Add a new asset" option.
2. Go to "Create a blank file" tab and enter the file name. You can add any distinguished name. Choose the ".css.liquid" extension and click on "Add asset" button. The new asset will be created.
3. Next go to Layout and open the file "theme.liquid". In the file add the new asset to css section. Enter the following code: ##{{ 'new_asset_name.css' | asset_url | stylesheet_tag }}.
Do not miss the .css extension after the asset name, and do not include .liquid after asset name.
4. Next, go to your online store and open the widget. Right click on the section of the widget where you want colour customization, and select the option "Inspect".
5. The HTML code will open. You will see the "div class" for that particular section will get highlighted. In the bottom, in Styles section you will find the specific class for the particular section. Copy the class from the Styles section.
6. In your newly created asset, paste the name of specific css. Next paste the code given below to change the colour. Save the changes.
{
background-color: #FFAC33 !important;
}
You can enter the colour code of the colour you want.
7. Now go to your online store and open the calendar widget. You will see that colour of that particular section will change.
By following the steps given above you can change the colour of the widget as per your requirement. You just need to copy the specific class and paste it in the newly created asset.
Following are the images of customized calendar widget for reference.
NOTE: If you need any assistance with the widget customization, please contact us.