New answers tagged

0

I’ll debug the source code after for detail anwser but I guest you can try this CSS solution: @media screen and (max-width: 375px) {   css selector {     background-image: url("header-mobile.jpg");   } }


0

The reason you're not finding a quick fix is that there isn't a consistent way to hide header and footer content across all templates, across all themes. Also, even builders like Elementor require the ability to enqueue their own CSS and JS. If you completely remove the header and footer, you will almost always also be completely removing the necessary hooks,...


0

Just for the record, your original statement would have worked if you had called a function by including parens instead of using what looked like a non-existent constant to the PHP interpreter. The constant is_front_page was evaluated as the string "is_front_page" and since "is_front_page" is not == false, it evaluated as true and "frontPageLogo" was always ...


Top 50 recent answers are included