Skip to main content
garyhi
Inspiring
October 3, 2016
Question

Captivate Skin - centering the buttons

  • October 3, 2016
  • 2 replies
  • 301 views

In one of my projects I am only using 3 buttons on the Skin - Replay, Play and Close. When I review the project the buttons are left justified. When published the buttons are distributed evenly across the width – Replay is left justified, play is centered and Close is right justified.

Playbar

Is there a way to have all three buttons on the left or right?

    This topic has been closed for replies.

    2 replies

    TLCMediaDesign
    Inspiring
    October 3, 2016

    Go into the assets/css/CPLibraryAll.css file and add the lines in BOLD to the CSS:

    .playbarSmallButton

    {

    width:25px;

    height:25px;

    float:left;

    display:inline;

    -moz-user-select: none;

        -khtml-user-select: none;

        -webkit-user-select: none;

        -o-user-select: none;

    margin-left: 0px !important

    }

    .playbarSmallButton:hover {cursor:pointer;}

    .playbarBigButton

    {

    width:41px;

    height:25px;

    float:left;

    display:inline;

    -moz-user-select: none;

        -khtml-user-select: none;

        -webkit-user-select: none;

        -o-user-select: none;

    margin-left: 0px !important

    }

    If you want the exit button to the right, add this CSS below the line above:

    .playbarSmallButton:last-child {

      margin-right: 2px;

      float: right !important

    }

    Inspiring
    October 3, 2016

    Hi Gary,

    Quick question, What browser/device are you using?

    Cheers,

    Steve

    garyhi
    garyhiAuthor
    Inspiring
    October 3, 2016

    Chrome and Internet Explorer.

    Desktop and Tablet, not phone.

    Thanks for your help!!!

    Inspiring
    October 3, 2016

    Hi Gary,

    Check and see if this is checked. If it is then un-check it it. See if that solves the issue.

    Cheers,

    Steve