Theme Color
Bethlehem comes with 6 predefined color schemes. You can also create your own scheme and use it.
Using a predefined color
- Navigate to Bethlehem page.
- Select Styling tab
- Choose Yes for Use a predefined color scheme option.
- Choose the color of your choice from the dropdown for Main Theme Color. Colors available : green, blue, red, orange, violet and yellow.
- Click on Save Changes button.
Using a custom theme color
Using a custom color is simple but it requires a few extra steps.
Method 1 (Recommended) : Using SASS
- Navigate to assets/sass/color/custom-color.scss file.
- On line 5, set $primary-color to the color of your choice as a HEX value.
- Compile assets/sass/color/custom-color.scss file to assets/css/custom-color.css
- You can also use sassmeister.com to compile the LESS file and copy the output to assets/css/custom-color.css
Method 2 : Using CSS and Find and Replace
- Navigate to assets/css/custom-color.css file.
- Do a find and replace of yellow color which is #ffb400 with your choice of color as a HEX value.
- We have also used darken and lighten version of the primary color. Replace them as well. Use sassmeister.com to find out the lighten and darken values for your color.