JCE MediaBox Popups - Hiding close button

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
shab
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Jun 01, 2015 6:04 pm

JCE MediaBox Popups - Hiding close button

Post by shab » Wed Aug 19, 2015 5:42 am

Hi,

I am trying to hide the close button for one of the popup windows to make users to update one of their profile items using the form in the modal.

Making the close button invisible for one modal makes the the close button invisible for other modals too. How can I only make close button invisible for only one modal?

#jcemediabox-popup-closelink{ display:none!important}

Thanks,

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4025
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: JCE MediaBox Popups - Hiding close button

Post by itoctopus » Wed Aug 19, 2015 11:15 am

Set the body tag id of that page to something unique, such as: #my-special-page

So, your CSS code will be:

Code: Select all

#my-special-page #jcemediabox-popup-closelink{ display:none!important}
This way it'll only work for that page.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter

shab
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Jun 01, 2015 6:04 pm

Re: JCE MediaBox Popups - Hiding close button

Post by shab » Wed Aug 19, 2015 6:14 pm

The problem is that the other modal is in the same page. I am going to add a condition to see if the other popup is active. If popup active close hidden else close should be active for other modals in the page.

Thanks for you help. :)

jaydubya
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Oct 25, 2015 5:17 pm

Re: JCE MediaBox Popups - Hiding close button

Post by jaydubya » Sun Oct 25, 2015 5:20 pm

Just had the same problem, solved by adding the following to the end of personal.css. Hope this helps :D

#bild{ display:none !important}


Locked

Return to “Extensions for Joomla! 1.5”