cancel
Showing results for 
Search instead for 
Did you mean: 

change magento main page coding

change magento main page coding

gento.JPG

i want to remove this coding from my magento web..where can i find this coding..this is main page of my web

4 REPLIES 4

Re: change magento main page coding

You can get those file from store module.

 

Refer below path to check your content,

 

vendor/magento/module-store/view/frontend/templates/switch/languages.phtml

Please let me know if you have any issue.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: change magento main page coding

@sideq_sabri

 

If you are want to do from XML then do use below way

 

<referenceBlock name="store_language" remove="true"/>

Add code to app/design/frontend/yourtheme/theme/Magento_Theme/layout/default.xml inside body tag.

 

 

Please flush the cache after add code.

 

If it will work then mark as solution.

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: change magento main page coding

actually..i do remove pic of flag language. but the coding that call flag
language is there and i wan t to remove this coding from the web becoz it
affect the access speed to my web almost 8s..where can i access those
coding and delete it..sorry i am fresh magento user but i know how write a
code its just i dun know where to edit n write it

Re: change magento main page coding

actually..i do remove pic of flag language. but the coding that call flag language is there and i wan t to remove this coding from the web becoz it affect the access speed to my web almost 8s..where can i access those coding and delete it..sorry i am fresh magento user but i know how write a code its just i dun know where to edit n write it