Skip to content

Commit

Permalink
Fixed link tag issue with bootstrap colour stylings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Causier committed Jan 15, 2019
1 parent 7cf53ec commit 43ccc88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/cookie-notice.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#cookie-notice {
position: fixed;
display: none;
z-index: 100;
z-index: 9999;
padding-top: 1rem;
padding-bottom: 1rem;
left: 0;
Expand Down
2 changes: 1 addition & 1 deletion includes/cookie-notice.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="col-12 col-md-3 text-center">
<a class="btn btn-<?php echo (scn_get_option('cookie_notice_btn_policy_color')) ?> btn-block" href="<?php echo scn_get_option('cookie_notice_btn_policy_link') ?: '/privacy-policy' ?>"><?php echo (scn_get_option('cookie_notice_btn_policy_text')) ?: 'View policy' ?></a>
<a class="btn btn-<?php echo (scn_get_option('cookie_notice_btn_accept_color')) ?> btn-block" id="cookie-notice-accept"><?php echo (scn_get_option('cookie_notice_btn_accept_text')) ?: 'Accept' ?></a>
<a class="btn btn-<?php echo (scn_get_option('cookie_notice_btn_accept_color')) ?> btn-block" href="#" id="cookie-notice-accept"><?php echo (scn_get_option('cookie_notice_btn_accept_text')) ?: 'Accept' ?></a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Simple Cookie Notice
Plugin URI:
Description: Display a simple Bootstrap-styled cookie notice message for users to accept or view your privacy and cookie info.
Author: jakecausier
Author: Jake Causier
Author URI: https://github.com/jakecausier
Version: 0.3
Text Domain: simple-cookie-notice
Expand Down

0 comments on commit 43ccc88

Please sign in to comment.