Home > Net >  Remove Class from Home Page
Remove Class from Home Page

Time:09-22

I would like to remove the following from the HOMPE PAGE ONLY! I have access to page editor but not sure what to insert in the CSS editor on that page.
I want to remove the below:

<div class="fs_img_header header_video_fs_view" style="width: 1028px; height: 789px;"><div class="stat_img_cont" style="background-image: url();background-size: cover;background-position: center center;"></div></div>

CodePudding user response:

.fs_img_header, .header_video_fs_view, .stat_img_cont {
   display: none;
}

if you're using Wordpress and the css has no effect:

.fs_img_header, .header_video_fs_view, .stat_img_cont {
   display: none !important;
}

To display it only on the homepage use following plugin (easy-way): https://de.wordpress.org/plugins/css-javascript-toolbox/

With this plugin you can choose where it displays your custom css (in this case the homepage).

Let me know if this helps.

  • Related