Plugin Directory

Changeset 1529052


Ignore:
Timestamp:
11/06/2016 01:18:33 AM (9 years ago)
Author:
josemanuelsh
Message:

Fixed bug that hid background images if body had a background color in CSS

Location:
coming-soon-for-genesis/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • coming-soon-for-genesis/trunk/css/front.css

    r1526511 r1529052  
    5353    }
    5454
     55    #gcs-custom-imagebg,
     56    #gcs-custom-imageover {
     57        top: 0;
     58        left: 0;
     59        right: 0;
     60        bottom: 0;
     61        z-index: 100;
     62        position: fixed;
     63    }
     64
     65    #gcs-custom-imageover {
     66        z-index: 200;
     67    }
     68
    5569    #gcs-custom-content {
    5670        margin: 0;
    5771        padding: 1.5%;
    5872        width: 500px;
     73        z-index: 300;
    5974        overflow: hidden;
    6075        position: absolute;
  • coming-soon-for-genesis/trunk/inc/front.php

    r1526511 r1529052  
    143143    public function coming_soon_content() {
    144144        ?>
     145        <div id="gcs-custom-imagebg"></div>
     146        <?php if( $this->options['bgdim']!='' ) : ?>
     147        <div id="gcs-custom-imageover"></div>
     148        <?php endif; ?>
    145149        <div id="gcs-custom-content">
    146150            <?php if( $this->options['logo']!='' ) : ?>
     
    155159        </div>
    156160        <style type="text/css">
    157             .gcs-custom-html {
     161            #gcs-custom-imagebg {
    158162                <?php if( $this->options['bgimage']!='' ) : ?>
    159163                background: <?php echo $this->options['bgcolor']; ?> url('<?php echo $this->options['bgimage']; ?>') <?php echo $this->options['repeatbg']; ?> <?php echo $this->options['positionbg']; ?>;
     
    165169                <?php endif; ?>
    166170            }
    167             .gcs-custom-body {
     171            #gcs-custom-imageover {
    168172                <?php if( $this->options['bgdim']!='' ) : ?>
    169173                background: rgba(0, 0, 0, 0.5);
  • coming-soon-for-genesis/trunk/plugin.php

    r1527813 r1529052  
    1010Domain Path: /languages
    1111
    12 Version: 1.0.0
     12Version: 1.0.1
    1313
    1414License: GNU General Public License v3.0
  • coming-soon-for-genesis/trunk/readme.txt

    r1526511 r1529052  
    55Requires at least: 4.4.2
    66Tested up to: 4.6
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    7878== Changelog ==
    7979
     80= 1.0.1 =
     81* Fixed bug that hid background images if body had a background color in CSS
     82
    8083= 1.0.0 =
    8184* Initial Release
Note: See TracChangeset for help on using the changeset viewer.