<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic module css does not working in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360678#M17965</link>
    <description>&lt;P&gt;can anyone tell me what is wrong in this code.&lt;/P&gt;&lt;P&gt;i am trying to add a simple css on a &lt;SPAN&gt;repeatable group&amp;nbsp;&lt;STRONG&gt;module. css is when I hover on a image the text changes opacity. but the problem is no matter what I do the opacity changing css wont work if I select a img tag or the class of the image tag. but if I change the tag to anything else like 'body , h3' or other class (except the image class or tag) the css works perfectly.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="Leaders_module"&amp;gt;&lt;BR /&gt;&amp;lt;div class="Leaders_module_container col_2"&amp;gt;&lt;BR /&gt;{% for item in module.leaders_module_group_fields %}&lt;BR /&gt;&amp;lt;div class="img_box"&amp;gt; //image or any image class&lt;BR /&gt;&amp;lt;img src="{{ item.leaders_module_image.src }}" class="leader_image" alt="{{ item.leaders_module_image.alt }}" {{ sizeAttrs }}&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="Leaders_module_text_container"&amp;gt;&lt;BR /&gt;&amp;lt;span class="Leaders_module_text"&amp;gt;&lt;BR /&gt;&amp;lt;h3 class="leader_name"&amp;gt;&lt;BR /&gt;{% inline_text field="leaders_module_name" value="{{ item.leaders_module_name }}" %}&lt;BR /&gt;&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;h4 class="leader_title"&amp;gt;&lt;BR /&gt;{% inline_text field="leader_title" value="{{ item.leader_title }}" %}&lt;BR /&gt;&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;/span&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;css&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.Leaders_module_container {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;.leader_image {&lt;BR /&gt;position:relative;&lt;BR /&gt;display:inline-block;&lt;BR /&gt;}&lt;BR /&gt;img {&lt;BR /&gt;transition: .5s ease-in-out all;&lt;BR /&gt;z-index:1&lt;BR /&gt;}&lt;BR /&gt;.img_box{&lt;BR /&gt;z-index:2;}&lt;BR /&gt;.Leaders_module_text {&lt;BR /&gt;color:red;&lt;BR /&gt;font-weight:600;&lt;BR /&gt;font-size:1.25em;&lt;BR /&gt;position: absolute;&lt;BR /&gt;top:0;&lt;BR /&gt;left:0;&lt;BR /&gt;opacity:1;&lt;BR /&gt;margin: auto;&lt;BR /&gt;z-index:100;&lt;BR /&gt;}&lt;BR /&gt;.Leaders_module_text_container{&lt;BR /&gt;width 100%;&lt;BR /&gt;}&lt;BR /&gt;.Leaders_module_text {&lt;BR /&gt;text-align:center;&lt;BR /&gt;transition: .5s ease-in-out all;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.leader_image:hover{&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;// this css does not work with image&lt;BR /&gt;.img_box:hover .Leaders_module_text{&lt;BR /&gt;opacity:0;&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Mon, 10 Aug 2020 09:17:51 GMT</pubDate>
    <dc:creator>abdur</dc:creator>
    <dc:date>2020-08-10T09:17:51Z</dc:date>
    <item>
      <title>module css does not working</title>
      <link>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360678#M17965</link>
      <description>&lt;P&gt;can anyone tell me what is wrong in this code.&lt;/P&gt;&lt;P&gt;i am trying to add a simple css on a &lt;SPAN&gt;repeatable group&amp;nbsp;&lt;STRONG&gt;module. css is when I hover on a image the text changes opacity. but the problem is no matter what I do the opacity changing css wont work if I select a img tag or the class of the image tag. but if I change the tag to anything else like 'body , h3' or other class (except the image class or tag) the css works perfectly.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="Leaders_module"&amp;gt;&lt;BR /&gt;&amp;lt;div class="Leaders_module_container col_2"&amp;gt;&lt;BR /&gt;{% for item in module.leaders_module_group_fields %}&lt;BR /&gt;&amp;lt;div class="img_box"&amp;gt; //image or any image class&lt;BR /&gt;&amp;lt;img src="{{ item.leaders_module_image.src }}" class="leader_image" alt="{{ item.leaders_module_image.alt }}" {{ sizeAttrs }}&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="Leaders_module_text_container"&amp;gt;&lt;BR /&gt;&amp;lt;span class="Leaders_module_text"&amp;gt;&lt;BR /&gt;&amp;lt;h3 class="leader_name"&amp;gt;&lt;BR /&gt;{% inline_text field="leaders_module_name" value="{{ item.leaders_module_name }}" %}&lt;BR /&gt;&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;h4 class="leader_title"&amp;gt;&lt;BR /&gt;{% inline_text field="leader_title" value="{{ item.leader_title }}" %}&lt;BR /&gt;&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;/span&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;css&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.Leaders_module_container {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;.leader_image {&lt;BR /&gt;position:relative;&lt;BR /&gt;display:inline-block;&lt;BR /&gt;}&lt;BR /&gt;img {&lt;BR /&gt;transition: .5s ease-in-out all;&lt;BR /&gt;z-index:1&lt;BR /&gt;}&lt;BR /&gt;.img_box{&lt;BR /&gt;z-index:2;}&lt;BR /&gt;.Leaders_module_text {&lt;BR /&gt;color:red;&lt;BR /&gt;font-weight:600;&lt;BR /&gt;font-size:1.25em;&lt;BR /&gt;position: absolute;&lt;BR /&gt;top:0;&lt;BR /&gt;left:0;&lt;BR /&gt;opacity:1;&lt;BR /&gt;margin: auto;&lt;BR /&gt;z-index:100;&lt;BR /&gt;}&lt;BR /&gt;.Leaders_module_text_container{&lt;BR /&gt;width 100%;&lt;BR /&gt;}&lt;BR /&gt;.Leaders_module_text {&lt;BR /&gt;text-align:center;&lt;BR /&gt;transition: .5s ease-in-out all;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.leader_image:hover{&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;// this css does not work with image&lt;BR /&gt;.img_box:hover .Leaders_module_text{&lt;BR /&gt;opacity:0;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 09:17:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360678#M17965</guid>
      <dc:creator>abdur</dc:creator>
      <dc:date>2020-08-10T09:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: module css does not working</title>
      <link>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360715#M17970</link>
      <description>&lt;P&gt;Here is something you could try in order to change the opacity on hover.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Restructure HTML wrapper around the image and text. So when you hover over the wrapper you can change the opacity.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="Leaders_module"&amp;gt;&lt;BR /&gt;{% for item in module.leaders_module_group_fields %}&lt;BR /&gt;&amp;lt;div class="Leaders_module_container col_2"&amp;gt;&lt;BR /&gt;&amp;lt;div class="img_box"&amp;gt; //image or any image class&lt;BR /&gt;&amp;lt;img src="{{ item.leaders_module_image.src }}" class="leader_image" alt="{{ item.leaders_module_image.alt }}" {{ sizeAttrs }}&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="Leaders_module_text_container"&amp;gt;&lt;BR /&gt;&amp;lt;span class="Leaders_module_text"&amp;gt;&lt;BR /&gt;&amp;lt;h3 class="leader_name"&amp;gt;&lt;BR /&gt;{% inline_text field="leaders_module_name" value="{{ item.leaders_module_name }}" %}&lt;BR /&gt;&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;h4 class="leader_title"&amp;gt;&lt;BR /&gt;{% inline_text field="leader_title" value="{{ item.leader_title }}" %}&lt;BR /&gt;&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;/span&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add the hover effect to the repeated item wrapper&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Leaders_module_container:hover .Leaders_module_text{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;opacity:0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Jacob Lett&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://bootstrapcreative.com/hubspot-designer/?utm_source=HubSpotCommunity&amp;amp;utm_term=tagline" target="_blank" rel="noopener"&gt;Freelance HubSpot CMS Developer &amp;amp; Web Designer&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;A href="https://bootstrapcreative.com/hubspot-designer/?utm_source=HubSpotCommunity&amp;amp;utm_term=logo" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HubSpot CMS Development and Web Design" style="width: 220px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/28844i368E9AAC739341A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="bootstrapcreative-horizontal-trim.png" alt="bootstrapcreative-horizontal-trim.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Located in Michigan, USA&lt;/P&gt;&lt;P&gt;&lt;A href="https://bootstrapcreative.com/contact-us/?utm_source=HubSpotCommunity&amp;amp;utm_term=free%20estimate" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Get a free estimate now&lt;STRONG&gt;&lt;STRONG&gt; ›&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:14:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360715#M17970</guid>
      <dc:creator>Jake_Lett</dc:creator>
      <dc:date>2020-08-10T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: module css does not working</title>
      <link>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360762#M17976</link>
      <description>&lt;P&gt;Thank u very much&amp;nbsp;&lt;STRONG&gt;Jacob&lt;/STRONG&gt; that helped a lot&lt;STRONG&gt;&lt;SPAN&gt;. it was really frustrating.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:31:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/module-css-does-not-working/m-p/360762#M17976</guid>
      <dc:creator>abdur</dc:creator>
      <dc:date>2020-08-10T14:31:08Z</dc:date>
    </item>
  </channel>
</rss>

