How to change Widget ID?

Hi there,
I have the same issue with this friend.

But I can’t fix it the way Movie did there because I couldn’t find widgets folder under inc.

You have to customise it in the “[Shapely] Parralax Section For FrontPage” widget code which is added in the shapely theme file /shapely/inc/widgets/widget-home-parallax.php

I attached what I got under inc folder. So does the place changed or how can I find the folder of widgets to change php?

Best Regards,
Damla

Hello there,

I hope you are doing well today.

Could you please link us to the original post that you got that instruction from so that we can have more information?

Best Regards,
Support

Hello there,
Here is the link.
https://colorlibsupport.com/t/change-widget-id/

Hello there,

That guide is a bit old and the theme no longer has a shapely parallax file to allow you to edit it.

Best Regards,
Support

@damlakoksal, I have a workaround suggestion for you. You can try updating “id” attribute of a div programmatically using Javascript. Here is an example:

Dynamically setting div id in JavaScript

Try putting a small javascript code snippet which changes “id” attribute of existing DIVS, inside widget content.

Hello @halilkarakose,

This is a good possible work around.

@damlakoksal, Please let us know if it worked.

Best Regards,
Support