How to customize the Call to Action widget to include a background image?

  1. Home
  2. Docs
  3. Tyler
  4. Frequently Asked Question...
  5. How to customize the Call to Action widget to include a background image?

How to customize the Call to Action widget to include a background image?

This call to action button uses ‘.btn-secondary’ class with in your stylesheet. For example, if you are using ‘New Orleans’ colour Palette, your style sheet is wp-content -> themes -> Tyler -> css -> schemes -> new-orleans ->layout.css

There is a simple way to change the background of the call to action button with out changing the default style.

Please follow the instruction below:

1) Please don’t forget to take a backup of the file prior to any change.

2) Open wp-content ->themes ->Tyler -> css ->layout.css via FTP or Cpanel

3) Add the following style at the end of the page.

#tile_calltoaction a.btn.btn-lg.btn-secondary { background-image:url(‘your image path’)}

4) Update the file to the server

 

Was this article helpful to you? Yes No 1