Home Forums WoodMart support forum Custom selectors not working after theme update to 6.0.4

Custom selectors not working after theme update to 6.0.4

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #293723

    d_ch
    Participant

    Hi,

    After updating WoodMart theme to the latest version 6.0.4, my attached custom selectors of ADVANCED TYPOGRAPHY stopped working. Actually the Color on hover is not working at all of them. Could you please take a look and give me some further advice on how to fix this?

    In addition, could you please inform me how can I totally remove the link from the titles of extra menu list items on my footer? Even if I don’t have any URLs on my titles, it is changing the color of their text on hover.

    Thank you in advance,
    Dimitris

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

    Artem Temos
    Keymaster

    Hello,

    Try to edit the file woodmart/inc/options/controls/typography/class-typography.php and replace the following code

    if ( 'custom' === $id ) {
        $current_selector = $custom;
    }

    with this one

    if ( 'custom' === $id ) {
    	$current_selector = $custom;
    	if ( 'hover' === $state ) {
    		$current_selector .= ':' . $state;
    	}
    }

    Kind Regards

    #295956

    d_ch
    Participant

    Hi,

    Will I loose this setting at the next theme update? Or will you add it to your fixes?

    However, even if I changed the file as per your recommendation, the class .navigation-style-separated .menu-mega-dropdown .color-scheme-dark .sub-sub-menu li a which I have changed on advanced typography wasn’t affected and the hover color is still white even if I have changed it to #3f8748.

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

    Eric Watson
    Participant

    Hello,

    Yes, we will add this fix in the next update. We have re-saved the theme settings and the selectors have been updated now everything should work correctly.

    Regards

    #301349

    d_ch
    Participant

    Hi,

    Have you maybe added the above mentioned fix at your latest theme update to version 6.1.0?

    Thank you in advance,
    Dimitris

    #301426

    Artem Temos
    Keymaster

    Hello,

    Yes, we have added it in our 6.1 update.

    Kind Regards

    #301692

    d_ch
    Participant

    Hi,

    Thank you for the info. I have one more question please regarding a change after the latest theme update. I just noticed that svg image which is set at the information box of my main header doesn’t appear on my front-end. Could you please have a look on this?

    Thank you in advance,
    Dimitris

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

    Hello,

    The problem is caused by SVG itself: some of your SVG images have styles that are applied to the whole page. As a result, the styles of one SVG icon influence the other. In order to solve this, you need to insert inline styles without classes.

    You can open your SVG image in any text editor and manually change styles to inline like is shown on this screenshot https://prnt.sc/loz0mw.

    If you create SVG in Adobe Illustrator we would suggest exporting SVG with appropriate CSS properties in the first place. During export from Illustrator choose style attributes. You can read more about resolving this issue in Illustrator here https://cobwwweb.com/inline-style-attributes-svg-elements.

    Best Regards

    #301710

    d_ch
    Participant

    Thank you for the tip, it seems to appear normally now. The strange is that it was appearing normally before the latest theme update.

    I also opened another ticket for issues of custom selectors that take place during the latest update from 6.0.4 to 6.1.0:

    https://xtemos.com/forums/topic/custom-selectors-issues-after-theme-update-to-6-1-0/

    #302052

    Artem Temos
    Keymaster

    We are glad that you sorted it out. Your other topics will be replied too.

    Kind Regards

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

The topic ‘Custom selectors not working after theme update to 6.0.4’ is closed to new replies.