Twenty Seventeen Theme Customisation
Twenty Seventeen is the default 4.7 WordPress theme for 2017. Subscribe to and request customisations here.

How To Change The Front Page Panel Shaded Gradient In Twenty Seventeen

Updated: March 23, 2017 Posted: January 24, 2017~ 1,022 Readers ~ 2 Minute Read 2 Comments >>

When using front page panels in Twenty Seventeen, the default gradient is a percentage shade of black from the bottom of the panel, to no shade at the top of the panel. This shading can be changed.

The default front page panel gradient is on the left, the changed gradient is on the right.

The gradient has been changed to use 90% black from the bottom of the panels.

You should be able to see the effect on the screenshot on the right.

Where and how to change the front page panel shaded gradient:


Subscribe to immediately use this, other Twenty Seventeen customisations, and receive useful information by email about growing your business online.

Free customisation and business growth support is only available for a limited period.

In WordPress Admin > Appearance > Edit CSS.

Enter the CSS code below.

  • The lines of code change the shade from the default of 30% top 90%. You can reduce this percentage to reduce the intensity of the gradient, or you can change it to zero to remove the gradient.
  • The lines of code have 0.9 where the gradient is set to 90%. Note that this number appears 4 times in the code. For internet explorer version 6 to 9, the number is in hexadecimal on a lower line. For 90% the value is set to E6. To calculate the hexadecimal value for another percentage first multiply the percentage by 255. If the number has decimal places, use the nearest whole number, and then type in google 'thewholenumber in Hex'

The CSS code:

There are 2 comments to the above post [Read comments].
Click here to comment, ask or share something.


Comment, ask or share something...

%d bloggers like this: