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

Your session has expired. Please log in again.

The security token did not match. The request was cancelled to prevent any security breach. Please try again.

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.

#113762 Mediabox CSS-styling broken

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 rojteatern on Wednesday, 17 May 2023 08:08 BST

rojteatern
When using Mediabox popup I want to style the caption. It worked before but now only for the "title" not the "caption".
In the "custom.css" I have:
.wf-mediabox-caption h4 {
font-size: 12px;
font-family: "Bitter",serif;
}
.wf-mediabox-caption p {
font-size: 12px;
font-style: italic;
}
.wf-mediabox-numbers {
color: #666;
display: block;
font-size: 12px;
margin-right: 15px;
}
.wf-mediabox-theme-light .wf-mediabox-close {
color: #666;
font-size: 12px !important;
font-family: "Bitter",serif;
}

But in the popup the caption is not styled

-

Link: https://www.rojteatern.nu/foerestaellningar/skrattmanniskan.html

Attachments

Ryan
Set your css like this:

.wf-mediabox-caption,
.wf-mediabox-caption p {
    font-size: 12px;
    font-style: italic;
}

.wf-mediabox-caption h4 {
    font-family: "Bitter",serif;
    font-style: normal;
}

Ryan Demmer

Lead Developer / CEO / CTO

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

rojteatern
Hi,

Thanks! Worked like a charm!

//Dennis