Possible to make Captions Vertical instead of horizontal?

uliwestphal's Avatar

uliwestphal

17 Sep, 2018 03:43 PM

Hi,
is it possible to make caption text run vertical instead of horizontal?
Like in the screenshot attached.
Thank you!
Uli

  1. Support Staff 1 Posted by Dmitry Semenov on 17 Sep, 2018 04:35 PM

    Dmitry Semenov's Avatar

    Hello,

    You may style the caption via CSS, https://stackoverflow.com/questions/14233341/how-can-i-rotate-an-ht...

    Global caption root element has selector .rsGCaption.

  2. 2 Posted by uliwestphal on 17 Sep, 2018 04:49 PM

    uliwestphal's Avatar

    Thank you Dmitry!
    I did it this way by trial and error, guess it works:
    .rsDefault .rsGCaption {
    position: absolute;
    transform: rotate(90deg);
    transform-origin: left top 0;
    float: left;
    top: 5px;
    left: 25px;
    text-align: left;
    background: rgb(0, 0, 0);
            background: rgba(0, 0, 0, 0.75);
    color: #999;
    padding: 2px 8px;
    width: auto;
    font-size: 12px;
    border-radius: 2px;
    }

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • e.jpg 96.1 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac