Title: custom css does not work
Last modified: July 19, 2020

---

# custom css does not work

 *  Resolved [ghaliekashan](https://wordpress.org/support/users/ghaliekashan/)
 * (@ghaliekashan)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/)
 * Thanks for your useful plugin,
 * I used the free version of Modula to make my gallery.
    I used custom css for 
   changing the view of the title of the gallery images and their hover effect.
 * The custom css is:
 * .modula .modula-item.effect-pufrobo .jtg-title {transform: translate3d(0,5px,
   0);} .modula .modula-item.effect-pufrobo .jtg-title, .modula .modula-item.effect-
   pufrobo p { position: absolute; right: 0px; left: 0px; padding: 10px 0; } .modula.
   modula-item.effect-pufrobo .figc { text-align: center; } .modula .modula-item.
   effect-pufrobo .jtg-title::after { height: 0px; }
 * Everything was good, but the custom css stopped working, suddenly.
    When I see
   the code in inspect of chrome, the style is unchanged and the custom css is not
   applied. The style can be changed using inspect of chrome, but can not be changed
   using custom css of Modula gallery.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-css-does-not-work-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13150557)
 * Hi [@ghaliekashan](https://wordpress.org/support/users/ghaliekashan/),
 * Thank you for reaching out to us!
    I just checked your gallery and I can see 
   the custom CSS from above is applied. Did you find the issue? Are you still not
   seeing the changes on your end?
 * Warmly,
    Mihaela
 *  Thread Starter [ghaliekashan](https://wordpress.org/support/users/ghaliekashan/)
 * (@ghaliekashan)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13161465)
 * Dear Mihaela,
 * I used the custom css to move the image titles to the center of my images.
 * It is very odd. Every thing was OK when I inserted the custom CSS. At the next
   day, the custom css was ignored by the gallery. So, I wrote the message for you.
 * When I saw your reply today morning and visited the page of my website, every
   thing was OK again!!!!
    And now at the afternoon and after passing some hours,
   the effect of the custom css is gone, again!!!!
 * 😀
    I can not understand what happened. Nothing was changed. No new plugin. No
   update.
 * I believe that your plugin is very beneficial and attractive, but I need very
   small galleries and it is a very special and rare need. Maybe I should test other
   gallery plugins.
 * Thanks for your time.
 *  Thread Starter [ghaliekashan](https://wordpress.org/support/users/ghaliekashan/)
 * (@ghaliekashan)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13161714)
 * I welcome to any suggestion, although I understand that it is a very odd problem.
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13165283)
 * I just double checked again but the custom CSS is still applied to the image,
   screenshot: [https://gyazo.com/88132a4c3ca0f69748f8e4dcfdfda85c](https://gyazo.com/88132a4c3ca0f69748f8e4dcfdfda85c)
   
   I am really, really sorry but cannot see any issues unfortunately. I checked 
   on 2 browsers to make sure. If it happens again please let me know.
 * Warmly,
    Mihaela
 *  Thread Starter [ghaliekashan](https://wordpress.org/support/users/ghaliekashan/)
 * (@ghaliekashan)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13168512)
 * Dear Mihaela,
 * I can not open the image you’ve attached. Maybe the link is broken.
    Can you 
   prepare another link for your screenshot, please?
 * I have got an screenshot from the attached page and focused on the gallery area.
   
   [https://ghaliekashan.com/wp-content/uploads/2020/07/Modula-test1.jpg](https://ghaliekashan.com/wp-content/uploads/2020/07/Modula-test1.jpg)
 * As you can see, the titles of the images are out of the borders of the images.
 * I applied the custom css on the page via chrome inspect and the result is
    [https://ghaliekashan.com/wp-content/uploads/2020/07/Modula-test2.jpg](https://ghaliekashan.com/wp-content/uploads/2020/07/Modula-test2.jpg)
 * , which is absolutely my desired view of the gallery.
 *  [visi19](https://wordpress.org/support/users/visi19/)
 * (@visi19)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13174804)
 * Hi [@ghaliekashan](https://wordpress.org/support/users/ghaliekashan/) ,
 * The code worked, it was inserted: [https://imgur.com/a/J0mIrzp](https://imgur.com/a/J0mIrzp)
   
   the name is displayed on the photo, everything works fine
 * Let me know if you have more questions !
 * All the best,
    Marian

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘custom css does not work’ is closed to new replies.

 * ![](https://ps.w.org/modula-best-grid-gallery/assets/icon-256x256.png?rev=3095828)
 * [Modula Image Gallery - Photo Grid & Video Gallery](https://wordpress.org/plugins/modula-best-grid-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/modula-best-grid-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/modula-best-grid-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/modula-best-grid-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modula-best-grid-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modula-best-grid-gallery/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [visi19](https://wordpress.org/support/users/visi19/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/custom-css-does-not-work-3/#post-13174804)
 * Status: resolved