Accordeon - Jump to top

More
8 years 3 months ago #36533 by LittleGrizzly
Sorry, I totally forgot my request. It would be great if the changes were still available for me.

Since the last update (or maybe a previous one, haven´t updated a few months) something has changed in my accordeon view. The first point is always a picture with a small instruction text (click here etc) below it. It was always shown like it should.Since I updated to the last version, the small text is shown next to the image, no more below it.
The code I used:
Code:
<p style="text-align: center;"><br /> <br /> <a class="jcepopup" href="images/stories/team/team1516_big.jpg" target="_blank" rel="Team" type="image/jpeg" data-mediabox-title="Team 2015/2016" data-mediabox-rel="Team"> <img src="images/stories/team/team1516_small.jpg" alt="team1516 small" /></a> <br /><span class="small">Klick ins Bild für größere Ansicht</span><br /> <br /><br /></p>

It was always fine. Here is an example: www.grizzly-adams.de/index.php/archiv/saison-2015-2016
All pages in my menu "Archiv" are built in the same way, all have the text next to the image were it was below before I updated.

Any ideas why it has changed? Is ist possible to repair it globally so I don´t have to change every single site?

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

More
8 years 3 months ago #36545 by ced1870
Replied by ced1870 on topic Accordeon - Jump to top
Hi
I think that this is a css problem related to the fact that now the pagebuilder css are more important than the css of the jcemediabox
try to add this in a custom css
Code:
a.jcepopup span.jcemediabox-zoom-span { float: none !important; }

it uses the string "span" in the css which is the problem
CEd

Joomlack Webmaster and Developer

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

More
8 years 3 months ago - 8 years 3 months ago #36550 by LittleGrizzly
When I copy this into my custom.css-File (I use an override.css to keep all changes during updates), the small text is centered, but the image is always stuck on the left. Even if I delete the text and the problematic span-tags, the image is always on the left.
Unfortunately I have no idea how to get a bigger image in a lightbox popup without using JCE. TinyMCE doesn´t seem to be able to do sth like the JCEMediabox does.
No matter if a global solution won´t work, I don´t mind if I have to change every page manually since it seems to be a bigger problem if I use content created in JCE.
Is there a solution to make the mediabox css more important again? TinyMCE is really rudimentary, it can do not half of the things I´m used to have in JCE.
Last edit: 8 years 3 months ago by LittleGrizzly.

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

More
8 years 3 months ago #36554 by ced1870
Replied by ced1870 on topic Accordeon - Jump to top
to center the image, try this code
Code:
a.jcepopup span.jcemediabox-zoom-span { float: none !important; display: inline-block !important; }

you can continue to use jcemediabox, if you find the correct css to fix this :)

info only : there are some other solutions like my plugin Mediabox CK to open the images in a lightbox

Joomlack Webmaster and Developer

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

Time to create page: 0.219 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 638 guests and no members online