0
Welcome Guest! Login
0 items Join Now

SOLVED Popupmodule Not Working

  • SOLVED Popupmodule Not Working

    Posted 5 years 10 months ago
    • Hi,

      I'm trying to use the popupmodule in my template to display a login form, but whenever you click the button to open the lightcase, it doesn't add "display: block" to the .g-popupmodule-module-wrapper element:

      This image is hidden for guests.
      Please log in or register to see it.


      This image is hidden for guests.
      Please log in or register to see it.


      If I manually add display: block to that element, the content shows up.

      This image is hidden for guests.
      Please log in or register to see it.


      This image is hidden for guests.
      Please log in or register to see it.


      I've linked an example of a site that has this working and the one that does not in the secure tab.

      Any help would be much appreciated!
    • Last Edit: 5 years 10 months ago by theITfactor.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Popupmodule Not Working

    Posted 5 years 10 months ago
    • Please post your FTP logon, password and FTP URL in the secure area of your post.


      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Popupmodule Not Working

    Posted 5 years 10 months ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Popupmodule Not Working

    Posted 5 years 10 months ago
    • I've no idea why that is happening but add this custom CSS and it fixes it.
      #lightcase-content #g-popupmodule-popupmodule-5540 {
        display: block ;
        width: auto;
        height: auto;
      }

      To create a custom CSS compatible with Gantry 5 please read this http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet .

      Remember to recompile CSS from base outline too.


      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Popupmodule Not Working

    Posted 5 years 10 months ago
    • That did the trick, thanks Mark.

Time to create page: 0.045 seconds