Icons for custom modules

Does this work for anyone else?

Using SCRM 7.14

As per Gunnicom post above;

I have a simple 32 x 32 gif for a custom module. Put it in themes/SuiteP/images/

Added style.css in custom/themes/SuiteP/css/Dawn/
as follows;

.suitepicon-module-policies:before {
content: url(“/themes/SuiteP/images/umbrella-32.gif”);
}

No matter what url I use I cannot get the gif to appear.

Any ideas please.

Thanks
Terry

Aha!

Solved it. Needed a more complete url;

.suitepicon-module-policies:before {
content: url(“/crm/themes/SuiteP/images/umbrella-32.gif”);
}

2 Likes

Are you able to update icon at all places for your custom module POLICIES?

Like sidebar, subpanel and browser tab?

Sorry for looonngg delay in reply. Didn’t notice it.

Yes, I get the icons in all the right places.

I have added a custom image icon for my custom chart dashlet module option, but I am unable to modify its CSS style. Specifically, I cannot adjust its width, height, or color. How can I achieve this, or could you please guide me on where I might be going wrong? I have attempted this with both .svg and .png files

.suitepicon-module-leadchart:before{
    content: url("/custom/themes/SuiteP/images/filter.png");
}

Did you do Hard reload & cache clear on your browser?

yeah i did cleared all the cache and tried repair and build also.