Always left aligned [Solved]
- ClaudioRomeo
- Topic Author
- Offline
- Platinum Member
9 months 1 week ago - 9 months 1 week ago #71060
by ClaudioRomeo
Counselor for better people in a better company
Always left aligned [Solved] was created by ClaudioRomeo
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: 9 months 1 week ago by ClaudioRomeo. Reason: Marked as Solved
Please Log in or Create an account to join the conversation.
9 months 1 week ago #71063
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Always left aligned
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
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Topic Author
- Offline
- Platinum Member
9 months 1 week ago #71065
by ClaudioRomeo
Counselor for better people in a better company
Replied by ClaudioRomeo on topic Always left aligned
www.marcofioretti.it/istituzionali/l-azienda-marco-fioretti
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
Please Log in or Create an account to join the conversation.
9 months 1 week ago #71066
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Always left aligned
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
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Topic Author
- Offline
- Platinum Member
9 months 1 week ago #71067
by ClaudioRomeo
Counselor for better people in a better company
Replied by ClaudioRomeo on topic Always left aligned
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
Please Log in or Create an account to join the conversation.
9 months 1 week ago #71068
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Always left aligned
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.226 seconds