Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • hjalte1983 Friend
    #198896

    I’M having issues figure out how to change the margins in decor mijoshop theme.

    As you can see in this screenshot the category text is way too much to the right and down
    Was searching in stylesheet.css but couldn’t find it

    Regards-


    1. margin
    TomC Moderator
    #539127

    Here’s something you can try . . . .

    Within file path —> /opencart/catalog/view/theme/decor/stylesheet/stylesheet.css
    at line 95, modify as follows:


    .box-product-list .product-item-inner .name {
    font-family: 'Muli',serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    margin-right: 55px;
    margin-top: 0;
    text-align: center;
    }

    Better?

    hjalte1983 Friend
    #539130

    Thanks, and how can i put the text abit up, closer to the image it belong

    TomC Moderator
    #539131

    Within the same CSS rule, try the following:


    .box-product-list .product-item-inner .name {
    font-family: 'Muli',serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    margin-right: 55px;
    margin-top: 0;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 10px;

    }

    You can, of course, play around with the pixel values until you arrive at the result you’re most happy with.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  TomC 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum