[{"data":1,"prerenderedAt":11},["ShallowReactive",2],{"$f1cyy794aptbe3":3},{"slug":4,"title":5,"description":6,"published":7,"updated":8,"thumb":9,"html":10},"how-to-write-custom-css-specifically-for-certain-page-templates-in-wordpress","How to Write Custom CSS Specifically for Certain Page Templates in WordPress","If you want to add custom css for a specific page template, you can use is page template function in the header in if condition and write the...","2015-04-10","2016-06-17",null,"\u003Cp>If you want to add custom css for a specific page template, you can use is page template function in the header in if condition and write the corresponding css as the sample below.\u003C\u002Fp>\n\u003Cp>\u003Ccode>\u003Cbr \u002F>\n\u003C?php\n    if (is_page_template('album.php')) {\n    echo '\n\u003Cstyle>.footer_top .textwidget{display:none !important;}\u003C\u002Fstyle>\n\u003Cp>';\u003Cbr \u002F>\n    }\u003Cbr \u002F>\n?>\u003Cbr \u002F>\n\u003C\u002Fcode>\u003C\u002Fp>",1793901039328]