responsive layout old breakpoints are not getting deleted through build | Community
Skip to main content
Level 3
June 9, 2022

responsive layout old breakpoints are not getting deleted through build

  • June 9, 2022
  • 1 reply
  • 1039 views

Hi Team,

Could anyone help me to resolve the below.

 

Have created new break points for responsive layout. After the build can see the newly added breakpoints but old breakpoints are not getting deleted. May I know how to delete it through build.

 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Ravi_Pampana
Community Advisor
Community Advisor
June 9, 2022

Hi,

Are old break points custom or out of the box ? Try to find from where the old breakpoints are referring from and if they are from out of the box folder, override that path into /apps and empty the file. Make sure the path is included in filter.xml of your code to include in the build.

Lakshmi9Author
Level 3
June 9, 2022

Hi @ravi_pampana 

yes old breakpoints are OOTB. But have updated this property value cq:deviceGroups as below.

 

cq:deviceGroups="[mobile/groups/responsive]" - old
cq:deviceGroups="[/etc/mobile/groups/archetype]" - new & its having the updated emulator values.

 

emulators="[/apps/adobe/emulators/base,/apps/adobe/emulators/small,/apps/adobe/emulators/medium,/apps/adobe/emulators/large]">

 

Also updated the filter.xml

<filter root="/conf/adobe/settings/wcm/templates/home-content/structure" mode="update"/>

But still both are there. Any inputs please?

 

Thank you

Lakshmi9Author
Level 3
June 10, 2022

Tried with mode=replace & include pattern as well. But no luck. Could someone help on this please?

<filter root="/conf/adobe/settings/wcm/templates/home-content/structure" mode="replace">
<include pattern="/conf/adobe/settings/wcm/templates/home-content/structure(/.*)?" />
</filter>