Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

Finalize Custom Theme In Magento 2

  1. #1
    [ Contributor ] Wajid Hussain's Avatar
    Join Date
    Nov 2014
    Posts
    204
    Thanks
    3
    Thanked 14 Times in 12 Posts

    Default Finalize Custom Theme In Magento 2

    In the first part of this theme development series I explained the functioning of Magento folder structure work for themes. Now, this is the last part of the series and in this part, I am going to depict how to make the theme pages and give shape to the entire theme with styling.

    Configure Image Properties in Your Theme

    For configuration of catalog image sizes and other images, you need view.xml. This file is required for the theme if the product image sizes of your custom theme are different from the parent theme sizes. The view.xml file configures all storefront product image sizes. For example, you make the category grid view product images by specifying size of 350 x 350 pixels. Copy the view.xml file from the etc. directory of your parent theme to your theme’s etc directory and here is how the corresponding configuration would look like:

    PHP Code:
    ...
        <image id="category_page_grid" type="small_image">
            <width>350</width>
            <height>350</height>
        </image>
    ... 
    Read Complete Tutorial On Cloudways Blog: http://www.cloudways.com/blog/finali...eme-magento-2/

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Nov 2019
    Posts
    1,083
    Thanks
    6
    Thanked 3 Times in 3 Posts

    Default

    Nice guide! Thanks for sharing.

    You can try out these free and easy to customize Magento 2 themes to create a professional online store with ease.

    Using these themes you can start up a wide variety of online stores including electronics, furniture, fashion store, and lots more. The good news is that you can customize these themes and set a stylish and professional online store.

    Check it here: Best Free Responsive Magento 2 Themes [Latest Collection]

    Name:  free-responsive-magento-2-themes.png
Views: 819
Size:  273.4 KB

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •