Custom Option Types
-
Hi,
I use Option Tree Custom Option Types. I’m trying to insert in theme color picker with opacity and Spacing. For Spacing I used code.if ( function_exists( 'ot_get_option' ) ) { /* get the array, and have a default just incase */ $color_opacity = ot_get_option( 'color_opacity', array( '10', 'px' ) ); /* implode array into a string value */ if ( ! empty( color_opacity ) ) { echo implode( '', $color_opacity ); } }
But it display padding along. example: padding: 510510px
I need padding: 5px 5px 10px 10px. I also need the code for color opacitySorry for my English.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom Option Types’ is closed to new replies.