Partner Media manager does not open the popup on frontend

More
6 years 11 months ago - 6 years 11 months ago #11506 by gmonamour
Hi,
I have an issue, I suppose due to a conflict with my template.
The issue is that on frontend, a partner are not able to manage the media.
As you can see from my screenshot 1, after you click on "media manager" button you have a grey screen.
I was not be able to understand where is the issue but I've tried a solution to turn around of it.
As you can see from my screenshot 2, If you change the id="sr-media-modal" from class="modal hidden fade in" to class="modal fade in"
it works.
But now, after a search, I'm not been able to find where that class is assigned.
So, please, could you tell me what and where is the file where that class is assigned?
Thanks a lot, best regards

My site with Solidres www.gmonamour.it/
Attachments:
Last edit: 6 years 11 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #11511 by solidres
Hi,

The class is assigned automatically by JS, does it work with other templates like Joomla default template?

Regards,

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #11515 by gmonamour
Hi,
yes, as you can see in my next screenshot, with Protostar template it works. And the class is class="modal hidden fade in".
In fact I said that "I suppose due to a conflict with my template".
But the template has no support and I'm not be able to find where I can work to fix it. I thought that the class was assigned by Solidres. But It is not.
So now I'm in trouble...
Regards

My site with Solidres www.gmonamour.it/
Attachments:
Last edit: 6 years 11 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #11516 by gmonamour
Hi,
thinking on how can I do to fix my issue and reading better the code i see that there is Style display:block.
So I think that this should be enought to avoid the class:hidden.
So I try to add !important and voilà it works!
You can see on my screenshot.
But now the trouble is that the Style display:block is inline so how can I know where is set it?
I can fix it by myself by adding #sr-media-modal {display: block !important;} on my custom css.
But if it is from Solidres what do you think if even you add the !important on the inline style?
Thanks, best regards

My site with Solidres www.gmonamour.it/
Attachments:
Last edit: 6 years 11 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #11523 by solidres
Hi,

We are not able to add !important into our CSS because it may cause conflicts in other sites therefore it is better to add it in specific case.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?