

Customizing theme colors in Drupal 8
While themes come with their own predefined color sets that you can choose from, you may want to select some custom colors for your site. Check out the instructions below as we guide you on how to customize theme colors in Drupal 8.
How to customize theme colors in Drupal 8
- Log into your Drupal 8 administrative dashboard.
Select Menu from the top menu bar.
Next, click on Appearance from the secondary menu that appears.
You will now be on the main Appearance page where you will see a list of all the themes that are available. Find the theme you want to work with and click on the Settings link for that theme. In our example, we will be working with our active theme, Bartik.
From the theme settings page you will see a Color Scheme section at the top containing a color wheel and several fields that have hexadecimal codes in them for colors. These fields can be altered by either typing new codes or by using the color wheel to the right to select a color after clicking on the field you want to alter. There are also small lock icons that you can click. By 'locking' two fields together, they both will change as you alter the color, keeping them in proper contrast. In our example, we altered the Header background top for the Bartik theme from the original #0779bk to a more purplish #722cf5. You can see how your color change will look with the Preview section just below the fields.
- Once you have completed the color changes, click on the Save Configuration button at the bottom to save and activate your new settings. Below are before and after screenshots of the changes we made in our example.
Before After
Was this article helpful?
Continued Education in Course 105: Managing and working with Drupal 8 themes
You are viewing Section 5: Customizing theme colors in Drupal 8
‹
Section 4: Changing color sets for themes in Drupal 8
|
›
Section 6: Disabling the Drupal logo in your Drupal 8 theme
|
Related Questions
Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Support Center Login
Our Login page has moved. Please click the button below to be redirected to the login page.Recent Articles
Managing and working with Drupal 8 themes
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
---|---|---|---|
Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |
Post a Comment