Add more Icons to Icons Row

Hi all,

Hope everyone is well. I was wondering if someone could please help me enable 7 icon rows in the icons row just below out slideshow image on our websites home page?

I have tried to find it in the theme CSS but perhaps i’m missing something.

Theme: Palo Alto

Website: https://www.coffee.prestigerepairs.com.au/

Any help would be greatly appreciated.

Thank you!

@MollieHammond option will not be in css, please open this page in customize settings and check if you have an option to add more icons to this row, if no then code editing will be needed

Hey, yeah unfortunately it’s not in the settings. That’s why i’m here. I know a percentage should just need to be edited inthe code but I am unsure where to find it.

Hello @MollieHammond ,

Follow these steps:

  1. Go to Online Store → Theme → Edit code

  2. Open your theme.css file and paste the following code at the bottom:

@media only screen and (min-width: 768px) {
.icons-row__slider.items--4 {
    grid-template-columns: repeat(7,minmax(0,1fr)) !important;
}
}

And if you need dynamic option in section to add more than 4 icons please share the code of file sections → icons-row.liquid

Regards

Guleria

@MollieHammond you can follow steps given by @Guleria , this will make it 7 column structure, but if you want to add more icons then may need to edit code as option for more than 4 is not available in customize settings

Hey! Thanks so much but that only lets me put 6 icons and titles in. I did that and now it’s off center.

https://www.coffee.prestigerepairs.com.au/

@MollieHammond - change 7 to 6 and check

That still only allows 6 but it’s much more centred and better looking now. We should be okay with just six :slightly_smiling_face: thank you so much!

You don’t happen to know why heading text comes up white but anything input in the ‘text’ section comes up black do you?

Heading 4 is the perfect size but it just comes up black.

You can override it with another line of css code

.icons-row__text h5, .icons-row__text p
Specificity: (0,1,1)
 {
    color: #fff;
}

Hey,

thanks so much for responding. This didn’t work though. I tried at the bottom of the theme liquid and also in the custom CSS on the front editor in the section.

Also putting in the 6 rows made the padding at the bottom large, even with 0 padding selected. Is this fixable? Sorry to be a pain.

Sorry previous css code was wrong, please try this one to change the color

.icons-row__text *
 {
    color: #fff;
}

Padding issue, make sure each text block with an icon doesn’t have any space. Empty space converted into
tag and create spaces which look like padding.

That worked, SERIOUSLY THANK YOU so so much.