• Theme Author Guido

    (@guido07111975)


    Hi,

    Yes, another update after almost 2 years!

    In last update of MultiColors I have included new settings in the Customizer:

    • Display or hide site title and tagline
    • Display featured image on the single post page
    • Set length of the post summary
    • Change label of the Read More button and Mobile Menu button

    For users with a child theme:

    • Because of the new settings in the Customizer you may not even need a child theme anymore
    • Files header, single and single-full: updated to include new settings from above
    • File header: homepage content (homepage image and homepage sidebar) has been moved to separate file
    • File footer: removed whitespace and such

    For users with custom CSS:

    • Changes are made in the stylesheet (CSS)
    • Changed ID of the homepage image and homepage sidebar container into homepage-content
    • Changed CSS class of the homepage image into homepage-image
    • Changed CSS class of the homepage sidebar into homepage-sidebar
    • Most changes in the mobile stylesheet (to make website look better in small screen)

    For all users:

    • Changes are made in the stylesheet (CSS)
    • If website doesn’t look as expected after theme update, clear your (browser) cache and reload the page

    Need help? Please open a topic in support forum.

    Guido

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Guido.

    I have just discovered a minor error in the update.

    header.php: line 67
    The label should not be escaped at the output, otherwise the default i-Tag is output as text and not interpreted.
    But instead of
    ‘echo esc_html($mobile_menu_label);’
    simply
    ‘echo $mobile_menu_label;’
    does it.

    All the best from Switzerland. Stephan

    Theme Author Guido

    (@guido07111975)

    Hi Stephan,

    It’s required to escape textual strings when using echo. Guess most users with a custom label will use text instead of an icon there. You cannot use a “regular” textual character instead of the icon?

    Guido

    Hi Guido.

    Thanks for the answer.
    No, I have already the solution and I output the default entry with the three bars (html tag i) ??
    Please have a look at the output on a mobile with and without esc_html.

    Stephan

    Theme Author Guido

    (@guido07111975)

    Hi,

    This HTML hamburger menu icon does display fine: ≡

    What’s the icon html you’re using?

    Guido

    Hi Guido.

    Thanks for the hint!
    So i am happy with esc_html() but i will use the “Big Mac” ?.
    Before i was using <i class=”fa fa-bars”></i> (FontAwesome) which was in conflict with esc_html.

    Stephan

    • This reply was modified 2 months, 3 weeks ago by stephanknorr.
    • This reply was modified 2 months, 3 weeks ago by stephanknorr.
    • This reply was modified 2 months, 3 weeks ago by stephanknorr.
    • This reply was modified 2 months, 3 weeks ago by stephanknorr.
    • This reply was modified 2 months, 3 weeks ago by stephanknorr.
    • This reply was modified 2 months, 3 weeks ago by stephanknorr.
    Theme Author Guido

    (@guido07111975)

    Hi,

    Great it’s solved.
    FYI: if you’re adding code you can select the code block via the + sign.
    And for inline code click the “more” arrow before adding the code.

    Guido

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.