badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Like leaving the larger images of the Services (the home) than 100×100

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24850
    fabianogomes82
    Participant

    hi,
    I want to make the Services images with size 200×200, 100×100 since, though the images I’ve ever done are in 200×200, however, they are not that big and lose quality as they are with 100×100 when displaying the home. I wonder why? I made some changes, but even so, they continue 100x100px.

    I changed the following clause in style.css, but the images did not increase in size.

    See the style.css code:

    .service-item .service-icon,
    .service-item .service-icon img {
    	width: 200px;
    	height: 200px;
    	-webkit-border-radius: 30px;
    	-moz-border-radius: 30px;
    	border-radius: 30px;
    }

    Thank you, anyone who can help.

    #24884

    Hi fabianogomes82,

    You need some code customization too. We have cut the image size. If you want to display image in size 200 * 200 then you need some code customization. Go to the theme folder-> functionss.php on line no 140 you can see this code
    add_image_size( 'icon', 100, 100, true ); //used for icon on business layout

    and remove this code with
    add_image_size( 'icon', 200, 200, true ); //used for icon on business layout

    Then it works but before making any changes on it first of all create a child theme then only customize the code so that your customized code will not be lost. If you are unable to create a child theme then you need to edit the same things on functions.php each and every time you update to our theme.

    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.