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
- This topic has 9 replies, 4 voices, and was last updated 4 years, 2 months ago by
Artem Temos.
-
AuthorPosts
-
May 19, 2021 at 4:08 pm #293723
d_chParticipantHi,
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,
DimitrisAttachments:
You must be logged in to view attached files.May 20, 2021 at 9:14 am #293934
Artem TemosKeymasterHello,
Try to edit the file
woodmart/inc/options/controls/typography/class-typography.php
and replace the following codeif ( 'custom' === $id ) { $current_selector = $custom; }
with this one
if ( 'custom' === $id ) { $current_selector = $custom; if ( 'hover' === $state ) { $current_selector .= ':' . $state; } }
Kind Regards
May 27, 2021 at 12:12 pm #295956
d_chParticipantHi,
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.May 27, 2021 at 12:36 pm #295967
Eric WatsonParticipantHello,
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
June 22, 2021 at 10:15 am #301349
d_chParticipantHi,
Have you maybe added the above mentioned fix at your latest theme update to version 6.1.0?
Thank you in advance,
DimitrisJune 22, 2021 at 12:56 pm #301426
Artem TemosKeymasterHello,
Yes, we have added it in our 6.1 update.
Kind Regards
June 23, 2021 at 8:52 am #301692
d_chParticipantHi,
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,
DimitrisAttachments:
You must be logged in to view attached files.June 23, 2021 at 9:32 am #301707
Elise NoromitMemberHello,
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
June 23, 2021 at 9:45 am #301710
d_chParticipantThank 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/
June 24, 2021 at 6:07 am #302052
Artem TemosKeymasterWe are glad that you sorted it out. Your other topics will be replied too.
Kind Regards
-
AuthorPosts
The topic ‘Custom selectors not working after theme update to 6.0.4’ is closed to new replies.
- You must be logged in to create new topics. Login / Register