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

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#114398 Popup Title Position

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 mberman14 on Tuesday, 15 August 2023 01:17 BST

mberman14
I have some text that I turn into a link to part of an internal page. I want the content of the linked page to appear in a popup window, so I go to the popup tab and set the type to JCE Mediabox Popups and the media type to Internal Links. So far so good.

But when I put some text into the Title field of the popup tab, the text appears at the bottom of the popup window (see attached). the same as text in the caption field. Is there a way to make the text in the Title field to appear at the top of the window instead, where a title ought to go?

Thanks,
Matt

Attachments

Ryan
Changing the position of the parts of the Mediabox is not really supported at the moment, but you can do it by adding the following css to your template stylesheet:

.wf-mediabox-container {
    display: flex;
    flex-direction: column;
}

.wf-mediabox-caption {
    order: 1;
}

.wf-mediabox-content {
    order: 2;
}

.wf-mediabox-nav {
    order: 3;
}

Ryan Demmer

Lead Developer / CEO / CTO

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

mberman14
That seems to have done it - thanks so much!

-Matt