Skip to content

Commit

Permalink
#2427 #2719 Styling for cover image added and vendor changelog updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Dec 11, 2018
1 parent c93823d commit 98a194c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/vendor/vendor-changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ Reason: To extend the functionality of sidebars and Pagebuilder
32. Widgets folder added in Vendor amp/includes #1400
33. `filter_var` check removed to handel MB strings from class-amp-blacklist-sanitizer.php #2556
34. Added itemprop attribute in amp-img #2585
35. Mobile detect library added from https://github.com/serbanghita/Mobile-Detect
35. Mobile detect library added from https://github.com/serbanghita/Mobile-Detect
36. Added class-amp-gallery-block-sanitizer.php, class-amp-block-sanitizer.php in Vendor AMP Sanitizers and class-amp-core-block-handler.php in Vendor AMP Embed Handlers #2427
2 changes: 2 additions & 0 deletions templates/features.php
Original file line number Diff line number Diff line change
Expand Up @@ -6798,5 +6798,7 @@ function ampforwp_remove_ahref_lightbox( $content ) {
function ampforwp_gutenberg_css(){ ?>
.wp-block-button { color: #fff}
.wp-block-button a {background-color: #32373c;border-radius: 28px;color: inherit;display: inline-block;padding: 12px 24px;}
.wp-block-cover{background-size: cover;background-position: center center;min-height: 430px;width: 100%;margin: 1.5em 0 1.5em 0;display: flex;justify-content: center;align-items: center;overflow: hidden;}
.wp-block-cover-text{color: #fff;font-size: 2em;line-height: 1.25;z-index: 1;}
<?php }
}

0 comments on commit 98a194c

Please sign in to comment.