Thu. Jul 4th, 2024

3. Magento 2.x. How to manage banners

1 min read
  1. In case you’d like to change the banner, right click it and select the Inspect Element or Firebug browser tool to find banner location:

    Magento-2.x.-How-to-manage-banners-1

    Here you can find the path to the image, image size, name and format required.

  2. To replace this image with yours, connect to server via FTP or use the cPanel file manager and open Magento root folder.
  3. Navigate to the pub/static/frontend/TemplateMonster/themeXXX/web/images/media folder on server and start uploading your banner image.
  4. Please, note, that when you’re replacing images via file manager or via FTP, your image should have the same name and format as the existing one. Only in this case the change will take place on server.
  5. To change banner caption, navigate to Magento admin panel, go to Content -> Pages, open and edit the Content tab of Home page. Make sure to preserve the same HTML tags in order not to loose the demo layout.

    Magento-2.x.-How-to-manage-banners-2

  6. You can edit banner caption font style in the pub/static/frontend/TemplateMonster/themeXXX/en_US/css/modules.css file on server. Check the banner caption with the Firebug or Inspect Element tool in order to find the line number you need to edit.

    Magento-2.x.-How-to-manage-banners-3

  7. Save changes. Refresh site home page with the Ctrl/Cmd+F5 hotkeys to check the changes.
July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031