forked from LiveCarta/LiveCartaWP
fixes for marketing
This commit is contained in:
@@ -618,11 +618,14 @@ blockquote {
|
|||||||
margin: 0 auto; } }
|
margin: 0 auto; } }
|
||||||
.text-page.blog {
|
.text-page.blog {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 800px; }
|
max-width: 830px;
|
||||||
.text-page.blog img.aligncenter {
|
padding: 0 15px; }
|
||||||
display: block;
|
.text-page.blog img {
|
||||||
margin-left: auto;
|
max-width: 100%; }
|
||||||
margin-right: auto; }
|
.text-page.blog img.aligncenter {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto; }
|
||||||
|
|
||||||
/* Icons. */
|
/* Icons. */
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -238,5 +238,13 @@ function get_lawcarta_ga_config(){
|
|||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_filter( 'post_thumbnail_html', 'remove_width_attribute', 10 );
|
||||||
|
add_filter( 'image_send_to_editor', 'remove_width_attribute', 10 );
|
||||||
|
|
||||||
|
function remove_width_attribute( $html ) {
|
||||||
|
$html = preg_replace( '/(width|height)="\d*"\s/', "", $html );
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user