Home › Forums › WoodMart support forum › Duplicate xts-header css files › Reply To: Duplicate xts-header css files
June 18, 2020 at 11:22 am
#204531

Artem Temos
Keymaster
We have chnaged three files
1. woodmart\inc\builder\Frontend.php
code
$this->_storage->write( $styles->get_all_css( $this->header->get_structure(), $this->header->get_options() ) );
replaced with
$this->_storage->write( $styles->get_all_css( $this->header->get_structure(), $this->header->get_options() ), true );
2. woodmart\inc\classes\Stylesstorage.php
public function write( $css ) {
with
public function write( $css, $is_frontend = false ) {
and
$this->write_file( $css );
with
if ( ! $is_frontend ) {
$this->write_file( $css );
}
3. woodmart\inc\classes\Themesettingscss.php
from
$this->storage->write( $this->get_all_css() );
to
$this->storage->write( $this->get_all_css(), true );
Kind Regards