• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Highlighted
    New

    CSS class being deleted for some unknown reason. Bug?

    I have a class on an image called "intro-img" and for some reason this class keeps getting deleted from the CSS stylesheet.

     

     HTML

    <section id = "Introduction">
    	
    		<div class="row">
    			<div class="view">
    				 <img class= "intro-img" src="OFP/OFP_Group.jpg" alt=""> 
    				<div class="mask flex-center rgba-black-light"></div>
    			</div>
    			
    			
    			<div class="main-text">
    				<h1 class="main-title" data-aos="fade-down" >Universal HVAC Safety Control</h1>
    			      <h2 data-aos="fade-down" data-aos-delay="1500">Protect your family or business now, prevent a disaster in your house or business!</h2>
    			      <a class="btn btn-primary" data-aos="fade-down" data-aos-delay="2500" role="button" aria-disabled="true" href="#divider">View our product!</a>
    			</div>
    		</div>
    	
    </section>

     

     CSS

    .intro-img{
    	
    	opacity: 0.7;
    	max-width: 1600px!important;
    	max-height: 800px!important;
    	width:100%;
    	
    }

     

    For some reason it only occurs under img and I'm also using the library AOS and WOW. I'm also using MDBootstrap features, my speculation is that somehow these are all connected with the godaddy hosting. If someone knows how to fix this, please let me know what I'm missing. Thank you!

     

    www.hvacofp.com (this is the site)

    1 REPLY 1
    Highlighted
    Super User II Super User II
    Super User II

    Re: CSS class being deleted for some unknown reason. Bug?

    I am seeing the CSS mentioned in /CSS/style.css

     

    It sounds like what you are seeing may be from your browser cache, but you can tell the browser to skip the cache and load the files fresh.

    https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache