- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
CherryFramework 3. How to activate full screen option on player
September 13, 2016
To add a Fullscreen button onto player, please, perform following steps:
Connect to your FTP or open the hosting control panel File manager tool.
Navigate to wp-content/themes/CherryFramework/includes folder and download theme-function.php file.
Open it with any text editor and add into following code, aprox. to the line 579
1234<
ul
class
=
"jp-toggles"
>
<
li
class
=
"first"
><
a
href
=
"javascript:;"
class
=
"jp-mute"
tabindex
=
"1"
title
=
"<?php echo theme_locals("
mute")?="">"><
span
>
<!--?php echo theme_locals("mute") ?-->
</
span
></
a
></
li
>
<
li
class
=
"last"
><
a
href
=
"javascript:;"
class
=
"jp-unmute"
tabindex
=
"1"
title
=
"<?php echo theme_locals("
unmute")?="">"><
span
>
<!--?php echo theme_locals("unmute") ?-->
</
span
></
a
></
li
>
</
ul
>
this line of code:
1<
li
><
a
href
=
"javascript:;"
class
=
"jp-full-screen"
tabindex
=
"1"
title
=
"<?php echo theme_locals("
fullwidth")?="">"><
span
>
<!--?php echo theme_locals("fullwidth") ?-->
</
span
></
a
></
li
>
Result would be:
12345<
ul
class
=
"jp-toggles"
>
<
li
class
=
"first"
><
a
href
=
"javascript:;"
class
=
"jp-mute"
tabindex
=
"1"
title
=
"<?php echo theme_locals("
mute")?="">"><
span
>
<!--?php echo theme_locals("mute") ?-->
</
span
></
a
></
li
>
<
li
><
a
href
=
"javascript:;"
class
=
"jp-unmute"
tabindex
=
"1"
title
=
"<?php echo theme_locals("
unmute")?="">"><
span
>
<!--?php echo theme_locals("unmute") ?-->
</
span
></
a
></
li
>
<
li
class
=
"last"
><
a
href
=
"javascript:;"
class
=
"jp-full-screen"
tabindex
=
"1"
title
=
"<?php echo theme_locals("
fullwidth")?="">"><
span
>
<!--?php echo theme_locals("fullwidth") ?-->
</
span
></
a
></
li
>
</
ul
>
Save file and replace on server.
Open your style.css file and add the following css rule to the bottom of the file:
123div.jp-volume-bar {
right
:
34px
!important
;
}
Save file and replace on server.
Check your site.
Feel free to check the detailed video tutorial below:
CherryFramework 3. How to activate full screen option on playerAlso, take a look at the collection of premium WordPress themes.