Skip to content

Commit

Permalink
css property for not-full-height
Browse files Browse the repository at this point in the history
Added css property when making rows that are not full height
  • Loading branch information
badabingbreda committed Aug 7, 2016
1 parent 0f371f2 commit c019b02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bb-rowstyles.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
* Plugin Name: Beaver Builder Row Styles Lite
* Plugin URI: https://www.beaverplugins.com/plugins/rowstyles-lite/
* Description: Add Unsplash Images, Youtube video and Shaded layers as a full width background on any row, right from the Row-settings panel. Add a color-shaded overlay over the background to improve visibility of your modules and text.
* Version: 0.1
* Version: 0.2
* Author: BadabingBreda
* Author URI: https://www.badabing.nl
* Text Domain: bb-rowstyles
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/

define( 'BBROWSTYLESLITE_VERSION' , '0.1' );
define( 'BBROWSTYLESLITE_VERSION' , '0.' );
define( 'BBROWSTYLESLITE_DIR', plugin_dir_path( __FILE__ ) );
define( 'BBROWSTYLESLITE_URL', plugins_url( '/', __FILE__ ) );

Expand Down
2 changes: 1 addition & 1 deletion includes/rowstyles.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ function add_row_style_css ( $css , $nodes , $global_settings ) {
if ( isset( $row->settings->youtube_placeholder ) && $row->settings->youtube_placeholder_src !== null ) {
$css .= '.fl-node-' . $row->node . ' .ytphimage {display: block;background:url(' . $row->settings->youtube_placeholder_src .') no-repeat center center; background-size:cover;width:100%;height:100%;position:absolute;top:0;left:0;z-index:20;}';
$css .= '.fl-node-' . $row->node . ' .fl-row-content-wrap .fl-row-content {';
$css .= 'z-index:100;';
$css .= 'z-index:100;position:relative;';
$css .= '}';
}
}
Expand Down

0 comments on commit c019b02

Please sign in to comment.