Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
admin:online-platform-cms:promotions [2021/02/18 15:31] – created justas-dambrauskas | admin:online-platform-cms:promotions [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Creating " | ====== Creating " | ||
+ | === 1. Add styles to a newly created page === | ||
+ | Turn on the HTML view by pressing "< >" symbol in the page editor window. Then paste the following code: | ||
+ | ---- | ||
+ | < | ||
+ | < | ||
+ | .cms-holder .row { | ||
+ | display: grid; | ||
+ | grid-template-columns: | ||
+ | grid-gap: 1rem; | ||
+ | justify-content: | ||
+ | padding: 1rem; | ||
+ | } | ||
+ | .cms-holder h2 { | ||
+ | font-size: 38px; | ||
+ | padding-top: | ||
+ | padding-bottom: | ||
+ | font-weight: | ||
+ | } | ||
+ | |||
+ | .cms-holder h3 { | ||
+ | font-size: 24px; | ||
+ | font-weight: | ||
+ | } | ||
+ | |||
+ | .cms-holder .promo-card { | ||
+ | height: 430px; | ||
+ | background: var(--main-third-background); | ||
+ | border-radius: | ||
+ | margin-bottom: | ||
+ | margin-right: | ||
+ | } | ||
+ | |||
+ | .cms-holder .img_area { | ||
+ | height: 50%; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .cms-holder .img { | ||
+ | object-fit: cover; | ||
+ | width: 100%; | ||
+ | border-top-left-radius: | ||
+ | border-top-right-radius: | ||
+ | } | ||
+ | |||
+ | .cms-holder .text_area { | ||
+ | height: 215px; | ||
+ | text-align: center; | ||
+ | padding: 30px 50px; | ||
+ | position: relative; | ||
+ | cursor: default; | ||
+ | } | ||
+ | |||
+ | .cms-holder .title { | ||
+ | font-size: 18px; | ||
+ | color: var(--main-third-background-text); | ||
+ | } | ||
+ | |||
+ | .cms-holder .subtitle { | ||
+ | font-size: 15px; | ||
+ | color: var(--main-third-background-text); | ||
+ | } | ||
+ | |||
+ | .cms-holder .button_area { | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | left:0; | ||
+ | right: 0; | ||
+ | padding-bottom: | ||
+ | } | ||
+ | |||
+ | .cms-holder .button { | ||
+ | height: 50px; | ||
+ | background: var(--main-primary); | ||
+ | padding: 0px 40px; | ||
+ | color: var(--main-primary-text); | ||
+ | border: 0px none; | ||
+ | display: inline-flex; | ||
+ | align-items: | ||
+ | } | ||
+ | |||
+ | .cms-holder .button: | ||
+ | background: var(--main-primary); | ||
+ | color: var(--main-primary-text); | ||
+ | cursor: pointer; | ||
+ | filter: brightness(85%); | ||
+ | } | ||
+ | @media screen and (max-width: 440px) { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | === 2. Add a page title === | ||
+ | Paste the following code below (note: In this example a page title is " | ||
+ | ---- | ||
+ | < | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | === 3.Add a promotions group title === | ||
+ | Paste the following code below (note: In this example a promotions group title is "New Customer Offer" | ||
+ | ---- | ||
+ | < | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | === 4. Add a grid container === | ||
+ | The container is the place where you will create all promotions cards (note: Next step code you need to write inside this code.). Paste the following code below: | ||
+ | ---- | ||
+ | < | ||
+ | <div class=" | ||
+ | The next step code goes here. | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | === 5. Add a single promotion card == | ||
+ | Paste the following code inside step four (4) code block: | ||
+ | ---- | ||
+ | < | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | 100% First Deposit Bonus | ||
+ | </ | ||
+ | <div class=" | ||
+ | We’ll match your first bonus of up to 20,000 TSh! Sign up today. | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | More Info | ||
+ | </a> | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | To change the image you need to replace the image link in this part of code **<img src=" | ||
+ | |||
+ | Change promotion title (note: In this example, a promotion title is " | ||
+ | |||
+ | Change promotion sub-title (note: In this example, a promotion sub-title is " | ||
+ | |||
+ | Change link to full promotion description. To change it you need to edit the link in this part of code **<a href=" | ||
+ | ---- | ||
+ | === 6. Create more promotion cards === | ||
+ | Repeat step five (5) as many times as you want to create promotion cards in the created promotions group. | ||
+ | ---- | ||
+ | === 7. Create other group of promotions === | ||
+ | Follow steps four (4), five(5) and six(6) to create a different group of promotions. | ||
+ | ---- | ||
+ | |||
+ | ====== Full demo code for a promotions page ====== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | .cms-holder .row { | ||
+ | display: grid; | ||
+ | grid-template-columns: | ||
+ | grid-gap: 1rem; | ||
+ | justify-content: | ||
+ | padding: 1rem; | ||
+ | } | ||
+ | |||
+ | .cms-holder h2 { | ||
+ | font-size: 38px; | ||
+ | padding-top: | ||
+ | padding-bottom: | ||
+ | font-weight: | ||
+ | } | ||
+ | |||
+ | .cms-holder h3 { | ||
+ | font-size: 24px; | ||
+ | font-weight: | ||
+ | } | ||
+ | |||
+ | .cms-holder .promo-card { | ||
+ | height: 430px; | ||
+ | background: var(--main-third-background); | ||
+ | border-radius: | ||
+ | margin-bottom: | ||
+ | margin-right: | ||
+ | } | ||
+ | |||
+ | .cms-holder .img_area { | ||
+ | height: 50%; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .cms-holder .img { | ||
+ | object-fit: cover; | ||
+ | width: 100%; | ||
+ | border-top-left-radius: | ||
+ | border-top-right-radius: | ||
+ | } | ||
+ | |||
+ | .cms-holder .text_area { | ||
+ | height: 215px; | ||
+ | text-align: center; | ||
+ | padding: 30px 50px; | ||
+ | position: relative; | ||
+ | cursor: default; | ||
+ | } | ||
+ | |||
+ | .cms-holder .title { | ||
+ | font-size: 18px; | ||
+ | color: var(--main-third-background-text); | ||
+ | } | ||
+ | |||
+ | .cms-holder .subtitle { | ||
+ | font-size: 15px; | ||
+ | color: var(--main-third-background-text); | ||
+ | } | ||
+ | |||
+ | .cms-holder .button_area { | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | left:0; | ||
+ | right: 0; | ||
+ | padding-bottom: | ||
+ | } | ||
+ | |||
+ | .cms-holder .button { | ||
+ | height: 50px; | ||
+ | background: var(--main-primary); | ||
+ | padding: 0px 40px; | ||
+ | color: var(--main-primary-text); | ||
+ | border: 0px none; | ||
+ | display: inline-flex; | ||
+ | align-items: | ||
+ | } | ||
+ | |||
+ | .cms-holder .button: | ||
+ | background: var(--main-primary); | ||
+ | cursor: pointer; | ||
+ | filter: brightness(85%); | ||
+ | color: var(--main-primary-text); | ||
+ | } | ||
+ | @media screen and (max-width: 440px) { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | 100% First Deposit Bonus | ||
+ | </ | ||
+ | <div class=" | ||
+ | We’ll match your first bonus of up to 20,000 TSh! Sign up today. | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | Sports Welcome Bonus | ||
+ | </ | ||
+ | <div class=" | ||
+ | Sign up and claim your Sports Welcome Bonus of up to 3,000 TSh! | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | Casino Welcome Bonus | ||
+ | </ | ||
+ | <div class=" | ||
+ | Sign up and claim your Casino Welcome Bonus of up to 15,000 TSh! | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | One Out Money Back | ||
+ | </ | ||
+ | <div class=" | ||
+ | Place an accumulator bet of 7+ matches and if you miss out on only 1 match, we’ll refund.. | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | 10% Cashback Every Week | ||
+ | </ | ||
+ | <div class=" | ||
+ | Get 10% Cash Back every week just by betting on your favourite games! | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | Accumulator Bonus up to 100% | ||
+ | </ | ||
+ | <div class=" | ||
+ | Get up to 100% BONUS on every ticket! The more matches you bet on, the bigger your.. | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | First 10 Bets Bonus | ||
+ | </ | ||
+ | <div class=" | ||
+ | Bet on first 10 single or multiple bets and take back all stakes of lost bets. | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | Roulette Extra Bet Bonus | ||
+ | </ | ||
+ | <div class=" | ||
+ | Play Roulette game and take back your stake for first bet on product. Limited time offer. | ||
+ | </ | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === Result === | ||
+ | ---- | ||
+ | {{ : | ||
+ | ---- | ||
+ | **✔ Always use HTML view option in the page editor window while doing all steps.** | ||
+ | ---- |