Skip to content

Commit

Permalink
Do not Hide Opt-In Ladder Items When Using Page Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
fernanDOTdo committed Dec 21, 2024
1 parent acc5f3a commit bfb7f2d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/engrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Friday, December 13, 2024 @ 23:50:28 ET
* Date: Saturday, December 21, 2024 @ 02:58:47 ET
* By: fernando
* ENGrid styles: v0.20.0
* ENGrid scripts: v0.20.3
Expand Down Expand Up @@ -9035,7 +9035,7 @@ body[data-engrid-debug]:before{
border:var(--input_border-width) solid var(--input_border-color);
}

.optin-ladder,[data-engrid-theme=engrid-ran3][data-engrid-embedded-ecard=true] .en__ecarditems__showprev,body[data-engrid-page-type=donation][data-engrid-payment-type=paypal]:not([data-engrid-currency-code=USD]) .en__submit,body[data-engrid-page-type=donation][data-engrid-payment-type=paypaltouch]:not([data-engrid-currency-code=USD]) .en__submit,body[data-engrid-page-type=premiumgift][data-engrid-payment-type=paypal]:not([data-engrid-currency-code=USD]) .en__submit,body[data-engrid-page-type=premiumgift][data-engrid-payment-type=paypaltouch]:not([data-engrid-currency-code=USD]) .en__submit,iframe[src*=fluidads]{
[data-engrid-theme=engrid-ran3][data-engrid-embedded-ecard=true] .en__ecarditems__showprev,body:not(#en__pagebuilder) .optin-ladder,body[data-engrid-page-type=donation][data-engrid-payment-type=paypal]:not([data-engrid-currency-code=USD]) .en__submit,body[data-engrid-page-type=donation][data-engrid-payment-type=paypaltouch]:not([data-engrid-currency-code=USD]) .en__submit,body[data-engrid-page-type=premiumgift][data-engrid-payment-type=paypal]:not([data-engrid-currency-code=USD]) .en__submit,body[data-engrid-page-type=premiumgift][data-engrid-payment-type=paypaltouch]:not([data-engrid-currency-code=USD]) .en__submit,iframe[src*=fluidads]{
display:none;
}
body{
Expand Down
2 changes: 1 addition & 1 deletion dist/engrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* ENGRID PAGE TEMPLATE ASSETS
*
* Date: Friday, December 13, 2024 @ 23:50:28 ET
* Date: Saturday, December 21, 2024 @ 02:58:47 ET
* By: fernando
* ENGrid styles: v0.20.0
* ENGrid scripts: v0.20.3
Expand Down
4 changes: 2 additions & 2 deletions dist/engrid.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/engrid.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/sass/page-template-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ body[data-engrid-page-type="premiumgift"][data-engrid-payment-type="paypaltouch"
}
}

.optin-ladder {
display: none;
body:not(#en__pagebuilder) {
.optin-ladder {
display: none;
}
}

0 comments on commit bfb7f2d

Please sign in to comment.