Skip to main content
deleted 78 characters in body
Source Link

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/html/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

You can always ask new questions if you're having trouble.

Good luck.

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/html/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

You can always ask new questions if you're having trouble.

Good luck.

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/html/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

added 5 characters in body
Source Link
PЯINCƎ
  • 11.7k
  • 3
  • 25
  • 82

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/html/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

You can always ask new questions if you're having trouble.

Good luck.

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

You can always ask new questions if you're having trouble.

Good luck.

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/html/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

You can always ask new questions if you're having trouble.

Good luck.

Source Link
PЯINCƎ
  • 11.7k
  • 3
  • 25
  • 82

There is a big job to do:

  1. First you have create your Magento theme mageplaza tuto or other.

  2. After creating your custom theme correctly, you can customise it (adding your css, js)

  3. About the html, in Magento they are phtml and it depends what it contains these files, if they are header, content, footer etc... you have to update that original ones from the new theme that you have just created

Exemple : to update the header, you have to go to : vendor/magento/module-theme/view/frontend/templates/html/header.phtml, you copy it then you past it in your new theme : app/design/frontend/{Theme}/{name}/Magento_Theme/templates/header.phtml why do we do this ?

  • because your new theme is inherited from his parent.

  • it's forbidden to update the Magento core files, vendor/magento/...

  • every time you need to edit a core templates file, you copy it from there and past it in your custom theme.

More informations in Magento DevDoc.

You can always ask new questions if you're having trouble.

Good luck.