Conditional script/css
-
I’m cleaning up my theme and saw that there is unnecessary code. Is it possible to make this code conditional? When something is filled in, the code will appear.
<script id="sgpb-custom-script-1214"></script><style id="sgpb-custom-style-1214">/*popup content wrapper*/ .sgpb-content-1214 { } /*overlay*/ .sgpb-popup-overlay-1214 { } /*popup wrapper*/ .sgpb-popup-builder-content-1214 { } </style>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Conditional script/css’ is closed to new replies.