Template Customization | Opus - Documentation | JoomShaper

Opus

Updated Last: 22 June 2021

Template Customization

This section walks you through how to customize a template. You can configure the look of template without having to edit core files or face the problems when upgrade to a newer version in the future. For custom CSS code changes we recommend to use a custom.css file, which should be created in /css/ folder of template next to other css files. Read here or in Helix Ultimate manual.

How to change Header bg color

You can use your own background color or gradient instead of default style, but it request custom CSS.

Example code to change header (not sticky) to red gradient:

#sp-header::before {
    background-image: linear-gradient(90deg, #A72B34 0%, #EF3E4A 100%);}

header_gradient_not_sticky

Example custom CSS code for sticky header with solid red color:

 #sp-header.header-sticky {background: #EF3E4A;}

solid bg red color

Example custom CSS code for sticky header with red gradient:

#sp-header.header-sticky {
    background-image: linear-gradient(90deg, #A72B34 0%, #EF3E4A 100%);}

red gradient bg color


How to change Header height

It request custom CSS, becuase you have to set header height and add centermenu section.
Example custom CSS code to increase height to 100px:

#sp-header.header-sticky {height: 100px;}
#sp-menu {margin-top: 15px;}

How to change Page Title Background colors

You can use your own bg color or gradient instead of default style, but it request custom CSS.

Example custom CSS code for green gradient for Page Title section:

.sp-page-title {background-image:  linear-gradient(90deg, #9DF5D1 0%, #1F9B62 100%);}


How to change primary color used for buttons

Primary style gradient it's taken from template styles (template.css). To change design of button(s) you have two options:

  1. Button Style > Custom > and choose your own colors.
    OR
  2. Override default colors used for primary style, example green gradient:
.sppb-btn.sppb-btn-primary {
    background-image: linear-gradient(224deg, #90C940 0%, #67932C 100%); }

.sppb-btn.sppb-btn-primary:hover, 
.sppb-btn.sppb-btn-primary:focus {
    background-image: linear-gradient(-224deg, #67932C 0%, #90C940 100%); }

buttons color

How CSS gradient works: https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient


How to remove Grid from Home page Slider

You have to use simple CSS code to disable white grid from background of slider, becuase it was added by image.

.sppb-slide-item-bg::before {display: none; background-image: none;}

How  to remove Box beyond Slider image

 Box shape beyond image in slider was built using CSS border. It means that you can easily remove it, or customize it design. Here is example code how to remove it.

.sppb-slide-item-bg .slide-img-wrapper::before { border: 0; }

..