Open oleh-rymar opened 2 months ago
We attach library 'openy_gated_content/y_lb' to virtual_y_app and virtual_y_login blocks. But, we also attach openy_gated_content/openy_carnation_styles to all pages, openy_carnation is available as a base theme.
In assets/css/y_lb.css
.openy_carnation.page-with-lb article, .openy_carnation.page-with-lb .openy-page-tabs { display: block; }
And in assets/css/openy_carnation.css
.openy_carnation.openy-gated-content article, .openy_carnation.openy-gated-content .openy-page-tabs { display: none; }
The two libraries should be attached only to the virtual_y_app and virtual_y_login blocks.
https://github.com/YCloudYUSA/yusaopeny_gated_content/pull/101
We attach library 'openy_gated_content/y_lb' to virtual_y_app and virtual_y_login blocks. But, we also attach openy_gated_content/openy_carnation_styles to all pages, openy_carnation is available as a base theme.
In assets/css/y_lb.css
.openy_carnation.page-with-lb article, .openy_carnation.page-with-lb .openy-page-tabs { display: block; }
And in assets/css/openy_carnation.css
.openy_carnation.openy-gated-content article, .openy_carnation.openy-gated-content .openy-page-tabs { display: none; }
The two libraries should be attached only to the virtual_y_app and virtual_y_login blocks.