I have recently migrated all my posts from DIVI builder to Gutenberg and plan to use it going forward. Recently diving into Oxygen Builder I found some mismatches in the CSS and they were bugging me a lot. Being a curious new player in the field I wanted to fix it.
The first set of integration work is live and is working flawlessly with few errors. Almost all the blocks were working correctly except the Embed of Facebook & Audio.
Updated it too look better on some cases.
Fixed Bug: Caption links and caption texts on images
The Installation of this integration is fairly easy. One of the greatest feature in oxygen comes to play regarding this, Inner Content. Inner Content out of the box does not do anything but the mixing of code levels it up.
<?php
add_theme_support( 'responsive-embeds' );
add_theme_support( 'customize-selective-refresh-widgets' );
add_theme_support( 'wp-block-styles' );
add_theme_support( 'align-wide' );
add_theme_support( 'editor-styles' );
add_editor_style( 'style-editor.css' );
?>
.wp-block-preformatted {
display: block;
font-family: Menlo, Consolas, monaco, monospace;
white-space: pre-wrap;
word-wrap: break-word;
text-align: justify;
margin: 1em 0;}
.wp-block-code {
font-family: Menlo, Consolas, monaco, monospace;
font-size: 14px;
color: #23282d;
padding: 0.8em 1em;
border: 1px solid #e2e4e7;
border-radius: 4px;
white-space: pre-wrap;
}
.wp-block-audio{
color: #23282d;
font-size: $default-font-size;
text-align: center;}
pre.wp-block-verse {
white-space: pre-wrap;
}
.wp-block-image figcaption {
overflow-wrap: break-word;
text-align: center;
font-size: x-small;
}
The above should work for all Oxygen versions.
Ads Temporarily Disabled