Always left aligned [Solved]
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
I sometimes use Mediabox to let visitors to play video o audio files. It works.
But I notice that the parent element (text or image, the one that has to be clicked) is always aligned to the left, even if I set it centered. In the editor it appears centered (correctly), but on the public page it is aligned to left.
If I delete the rel=lightbox parameter, it appears centered.
It seems to be a issue of Joomla 5, since with my old site in Joomla 3 it works perfectly. Or is it a matter of Mediabox?
Does anybody have an idea?
But I notice that the parent element (text or image, the one that has to be clicked) is always aligned to the left, even if I set it centered. In the editor it appears centered (correctly), but on the public page it is aligned to left.
If I delete the rel=lightbox parameter, it appears centered.
It seems to be a issue of Joomla 5, since with my old site in Joomla 3 it works perfectly. Or is it a matter of Mediabox?
Does anybody have an idea?
Counselor for better people in a better company
Last Edit:2 months 3 weeks ago
by ClaudioRomeo
Last edit: 2 months 3 weeks ago by ClaudioRomeo. Reason: Marked as Solved
Please Log in or Create an account to join the conversation.
Hi
I have never seen that before, please give me the url of the page so that I can check the problem
CEd
I have never seen that before, please give me the url of the page so that I can check the problem
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
[url]
www.marcofioretti.it/istituzionali/l-azienda-marco-fioretti
[/url]
The Mediabox element is Guarda il video.
The attached image shows the correct alignment in the JCE editor.
Thank you!
The Mediabox element is Guarda il video.
The attached image shows the correct alignment in the JCE editor.
Thank you!
Counselor for better people in a better company
by ClaudioRomeo
Please Log in or Create an account to join the conversation.
I see the alignment on the paragraph, but the mediabox link is not in it
you can try to add this css rule in your page
the problem seems related to a bad closing tag on a conditional content
CEd
you can try to add this css rule in your page
Code:
.mediaboxck_cont {
text-align: center;
}
the problem seems related to a bad closing tag on a conditional content
L'articolo è in costruzione. Torna qui tra qualche giorno!!</p>
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
Thank you: your workaround works fine.
Here is the code for the conditional content:
It sounds to me correct.
Anyway, the problem arises even if no conditional content rule is defined.
Now I'm going to check it more thoroughly. Neither the title nor the description are shown.
Here is the code for the conditional content:
Code:
<p>{show-else}L'articolo è in costruzione. Torna qui tra qualche giorno!!</p>
<p>Il link sottostante è solo un test</p>
<p style="text-align: center;"><a href="#" rel="lightbox" title="Titolo del video::Descrizione del video" data-dir="/images/Articoli/0001_0050/0017/Video/Sito_2013">Guarda il video</a></p>
<p>{/show}</p>
Anyway, the problem arises even if no conditional content rule is defined.
Now I'm going to check it more thoroughly. Neither the title nor the description are shown.
Counselor for better people in a better company
by ClaudioRomeo
Please Log in or Create an account to join the conversation.
I don't know how the condition works, but in your source code if you search for your text you will see the error
then please give me the url of an example so that I can check the other situationAnyway, the problem arises even if no conditional content rule is defined.
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.677 seconds