You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#100055 Text style on an article as mediabox

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 24 June 2019 14:52 BST

drmenzelit
Hi Ryan,

we have a problem with the text style on an article that is opened on a media box (on a contact form we link the legal notes article as modal window) . The definitions here .wf-mediabox, .wf-mediabox * overwrites the styles of headings and text from the template, there is no differences between a h2 and a p. How can we solve this problem?

Best regards

Viviana

kunze-medien
Hi Ryan, the Problem can be solved by changing jcemediabox.css (quick and dirty fix)

.wf-mediabox, .wf-mediabox *
to:

.wf-mediabox, .wf-mediabox .wf-mediabox-close
and add
left: auto;
to

.wf-mediabox-theme-squeeze .wf-mediabox-close {
    right: -1em;
    top: -1em;
    left: auto;
}

Ryan
we have a problem with the text style on an article that is opened on a media box (on a contact form we link the legal notes article as modal window) . The definitions here .wf-mediabox, .wf-mediabox * overwrites the styles of headings and text from the template, there is no differences between a h2 and a p.


Please post a link to an example popup.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

kunze-medien
Please scroll down to the end of Site and klick "Datenschutzerklärung" before Submit button

kunze-medien
By the way, on this popup, there are issues with the width of it. It would be expected 80% of full width, but it doesn't show it.

kunze-medien
Hey Ryan, are there any news yet to solve this problem?
Is there anything we can do?

kunze-medien
We noticed, version 1.2.9 did not have this issue. It starts with version 2 of Mediabox.

The link above doesn't show the issue anymore, because we have installed version 1.2.9 now.

jythra
Hi,
I have the same issue since the update to the 2 version.

Regards,
Rachel

Ryan
Please try JCE MediaBox 2.0.11 RC2 - https://www.joomlacontenteditor.net/downloads/mediabox/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

kunze-medien
Hi Ryan,

again on the same page as above installed, but unfortunately no improvement.
See for yourself https://kunze-medien.de/service/kontakt.html#default0_checkbox_inline-lbl and click on Datenschutzerklärung

Ryan
@kunze-medien - Despite my best efforts I cannot find the cause of the popup issue on your site, except to say that if the popup is set as an iframe type popup, instead of internal content, it opens correctly.

Please try this, by setting the Media Type of the popup (in the Popups tab) to "Not Set" or "External Links / Iframe"

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

kunze-medien
Hi Ryan,
sorry but we have around 300 web pages and we can not customize them all.

No idea how much has changed in the new version 2.x, but with the JCEMediaBox 1.2.9 everything looks good.
Maybe it's up to the JS to calculate the sizes without a fixed value on the parent, so there will probably be problems with the size calculation of the child.

Ryan
I am not able to replicate you issue on a local site, so it is very difficult to locate the specific issue causing this problem.

If you can send me a login, I can try a few changes on a 2.0.11 version to see if a fix is possible - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

kunze-medien
Hi Ryan,

I can't give you a login for this site.

so please read my private message.

kunze-medien
Placeholder as File

Attachments

placeholder.zip

Ryan
Please try JCE MediaBox 2.0.11 RC3 - https://www.joomlacontenteditor.net/downloads/mediabox/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

kunze-medien
Installed, see for yourself https://kunze-medien.de/service/kontakt.html#default0_checkbox_inline-lbl and click on Datenschutzerklärung.

There is only a height problem left over.

Ryan
Yes, I have no idea what is causing the issue.

I'm afraid you will either have to use the iframe method to display those pages, as suggested above, or use the older version of Mediabox.

Without being able to test it directly on your site (the test site is not suitable), I am unable to replicate the issue and attempt a fix.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
Ok, I may have solved it. Please try RC4 - https://www.joomlacontenteditor.net/downloads/mediabox/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

kunze-medien
Thats it!
I'm so happy. What was the problem?
What is the solution?

Ryan
After a lot of trial and error, I discovered, for some unknown reason, that the man content box for the popup required an overflow:inherit style to be set on it.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.