• Resolved EMar

    (@sounds)


    Hi,

    I have content control short-code in my page,

    [content_control roles=”premium-1″ message=”You will need a subscription to access this section.”][fvplayer id=”19″][/content_control]

    I can’t get the text in the short-code to center align on the page.
    I added some text under the short-code and centered it in the editor,
    It displays in the center of the page, did the same to the short-code, no luck.
    Text just aligns to the left side of the page.

    Anything I can add to the short-code to center everything?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @sounds,

    You can use CSS to center the text inside the shortcode. Please add the following CSS code to Appearance > Customize > Additional CSS (or to wherever you usually add custom CSS)

    .jp-cc, .jp-cc-not-accessible{
    text-align: center !important;
    }

    Let us know how it goes. ??

    Thread Starter EMar

    (@sounds)

    @kimmyx thanks that did the job.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Center align text in short-code’ is closed to new replies.