Keeping CSS model open after form submission

A combination of PHP and JS will do it. Have your page listen for the presence of gform_submit which Gravity Forms includes as a hidden field on all forms by default. if(!empty($_POST[‘gform_submit’])) { // now here comes your javascript } For the JS, set modal-state checked. This way on page load, if the form has … Read more

Overwrite a plugin’s CSS?

You can solve this in two ways No.1 to find the ‘a’ tag with class name ‘ bwg_load_btn_1 bwg_load_btn ‘ in your plugin and add inline style like this <a class=”bwg_load_btn_1 bwg_load_btn” href=”https://wordpress.stackexchange.com/questions/285911/javascript:void(0);” style=”font-size:16px;”>Load More…</a> 2nd in your style.css add font-size for this class with !important, .bwg_load_btn_1.bwg_load_btn{ /* !important will override the style */ font-size:16px … Read more

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.

Reduce size of responsive title

You can add custom CSS where you use media query in order to reduce the font-size of the title in small devices. You also have some styling that remove the line break and add the 3 dots at the end. So you can also remove them. You can try this code : @media all and … Read more

Child theme’s stylesheet cannot load [closed]

In the event a child theme is being used, this function will return the child’s theme directory URI. Use get_template_directory_uri() to avoid being overridden by a child theme. use : get_stylesheet_directory_uri() Example code Here <?php function my_theme_enqueue_styles() { $parent_style=”parent-style”; // This is ‘twentyfifteen-style’ for the Twenty Fifteen theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ ); wp_enqueue_style( … Read more

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

Why is my CSS not loading?

You need to add wp_head() hook before closing of <head> tag hook at header where all the enqueued files will be added dynamically. Check https://developer.wordpress.org/reference/functions/wp_head/ Also don’t forget to put wp_footer() at your footer.php file. See https://codex.wordpress.org/Function_Reference/wp_footer