Home Forums WoodMart support forum Custom selector does not work on mobile devices

Custom selector does not work on mobile devices

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #302479

    Phil
    Participant

    Good day!

    I set a different font for a text block with custom selector.
    It is not working on mobile devices, because the text size does not change as it should.
    On desktop is doing his job well.

    Do you have any idea what could have caused the problem?

    Thanks in advance,

    Phil

    Attachments:
    You must be logged in to view attached files.
    #302630

    Hello,

    Please, provide your site admin access to the private area.

    Please confirm the permit for us to deactivate the plugins not related to the theme and switch to the parent theme for the while of checking what may take up to 15 minutes. Please make the full backup of your site.

    Best Regards

    #302759

    Phil
    Participant

    Hello,

    you have the permit to deactivate the plugins not related to the theme and switch to the parent theme for the while of checking.

    Best Regards

    #302832

    Hello,

    Please provide the page URL and screen of the block you want to customize.

    Best Regards

    #302852

    Phil
    Participant

    Hello,

    you can find the informations in private content.

    Kind Regards

    Attachments:
    You must be logged in to view attached files.
    #302883

    Hello,

    Please give me the screen which title you are trying to edit and please give me the site admin access into the private area.

    Best Regards

    #303337

    Phil
    Participant

    Hello,

    okay, let me try it again.

    #303341

    Artem Temos
    Keymaster

    Hello,

    It seems to be a bug in our theme. In order to fix it, you need to edit the file “woodmart/inc/classes/Themesettingscss.php” and replace the following code

    private function get_all_css( $preset_id = '' ) {
        $options    = Options::get_instance();
        $css_parser = CSSParser::get_instance();
        $options->load_defaults();
        $options->load_options();
        $options->load_presets( $preset_id );
        $options->override_options_from_meta();
        $options->setup_globals();
        $css_index = $css_parser->ParseCSS( $options->get_css_output() );
        $css       = $css_parser->GetCSS( $css_index );
        $css .= $this->get_theme_settings_css();
        $css .= $this->get_icons_font_css();
        $css .= $this->get_custom_fonts_css();
        $css .= $this->get_custom_css();
        return apply_filters( 'woodmart_get_all_theme_settings_css', $css );
    }

    with this one

    private function get_all_css( $preset_id = '' ) {
        $options = Options::get_instance();
        $options->load_defaults();
        $options->load_options();
        $options->load_presets( $preset_id );
        $options->override_options_from_meta();
        $options->setup_globals();
        $css = $options->get_css_output();
        $css .= $this->get_theme_settings_css();
        $css .= $this->get_icons_font_css();
        $css .= $this->get_custom_fonts_css();
        $css .= $this->get_custom_css();
        return apply_filters( 'woodmart_get_all_theme_settings_css', $css );
    }

    Kind Regards

Viewing 8 posts - 1 through 8 (of 8 total)