Header background image just stopped working

Your tag is using 2 identifiers instead of one id=”masthead masthead_custom” class=”masthead_custom” id=”masthead” will correct your problem. #masthead.masthead_custom { background-image: url(“./bg.jpg”); background-color: #444; height: 100vh; background-position: center; background-repeat: no-repeat; background-size: cover; opacity: 0.6; position: relative;; z-index: 999999; } Tell me if it works.

Background image reversed on pages after home page [closed]

It looks like your theme is dictating that presentation in it’s stylesheet. You can override this using the WordPress Customizer, and going to the Additional CSS section to ensure that you don’t lose your custom styles when you update your theme. Glancing at the page, this CSS should help the other pages have the same … Read more

Disable File Editing function

There is no “Enable” button I’m aware of, but if you want to fully disable file editing, then that’s easy. https://codex.wordpress.org/Hardening_WordPress#Disable_File_Editing Add this line to your wp-config.php file: define(‘DISALLOW_FILE_EDIT’, true); No more file editing in WordPress.

Hover colour spreading out beyond submit button

That’s happening because of css rule. Here’s how you can solve this: Navigate to: wp-content/themes/wp-store/style.css Go to line 452, you’ll see below code button:hover:after { opacity: 1; filter: alpha(opacity= 100); visibility: visible; width: 100%; } Set the opacity to 0 OR remove this style completely. NOTE: I recommend you to create child theme, and make … Read more

Cannot set property ‘className’ of null at setThemeFromCookie

Using JQuery Simplifies the whole thing, using JS Cookie $(document).ready(function(){ // Check cookie and set theme if(Cookies.get(‘theme’)) { $(‘body’).removeClass(‘light-mode dark-mode’).addClass( Cookies.get(‘theme’) ); }; //Switch theme and create the cookie… $(“#theme-toggler”).click(function(){ if ($(‘body’).hasClass( ‘light-mode’)){ $(‘body’).removeClass(‘light-mode’).addClass(‘dark-mode’); Cookies.set(‘theme’, ‘dark-mode’); }else { $(‘body’).removeClass(‘dark-mode’).addClass(‘light-mode’); Cookies.set(‘theme’, ‘light-mode’); } }); }); Add id to button. <button id=”theme-toggler” type=”button” name=”dark_light” title=”Toggle dark/light mode”>🌛</button> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)