Customize icons for services

Ask Theme Settings & Configuration Related Issues Here

Moderator: forum_m

Post Reply
timszczygiel
Posts: 8
Joined: December 29th, 2017, 8:34 pm

Customize icons for services

Post by timszczygiel » January 3rd, 2018, 4:23 am

Hi

Is it possible to import customized icons or images for us in defining the Services? If so, is there a preferred size?

Thanks

Tim

timszczygiel
Posts: 8
Joined: December 29th, 2017, 8:34 pm

Re: Customize icons for services

Post by timszczygiel » January 3rd, 2018, 5:41 am

Also... is it possible to show more then 4 services? In multiple rows preferrably.

Tim

support_staff
Posts: 7199
Joined: February 26th, 2015, 1:40 pm

Re: Customize icons for services

Post by support_staff » January 3rd, 2018, 11:20 am

Hi,

firstly make a child theme using https://wordpress.org/plugins/orbisius- ... e-creator/ plugin
Now open main theme directory and copy index-service.php file and paste it into the child theme directory.
Open index-service.php file in child theme folder and see the code below on line no 5 -

if($all_posts > 4){ $all_posts = 4; }

replace this with the below line

if($all_posts > 8){ $all_posts = 8; }

and save the file. You can increase the no more than 8 as per requirement.


Yes, the image size can increase by using this CSS in custom CSS editor and save the changes

.attachment-service_img.size-service_img.wp-post-image {
height: auto;
width: 100%;
}

This will helps you.

timszczygiel
Posts: 8
Joined: December 29th, 2017, 8:34 pm

Re: Customize icons for services

Post by timszczygiel » January 3rd, 2018, 7:14 pm

OK. Thanks for the reply. Changing the if statement worked... However, now when the items display on the page, there rows are not displaying correctly. the 5th item is displaying on its own row (right justified under item 4) and then the items 6-8 are on a third row (left justified).

Wondering if somehow the while loop is not properly defining a row on the interval of 4??

Tim

support_staff
Posts: 7199
Joined: February 26th, 2015, 1:40 pm

Re: Customize icons for services

Post by support_staff » January 5th, 2018, 11:53 am

Hi,

Please share your site URL. We will share you a child theme for your issue. For this, we need your site URL.

If you have made the change in the code of theme, then we need your site's temporary admin access.

In this case, please share your site's Admin access on lizarweb@gmail.com

Please mention your issue in the mail.

Note: Please don't share your site's access to the forum. As the forum is publically available.

Thanks.

Post Reply

Return to “Theme Settings & Configuration”