TerryL
29 December 2023 22:48
41
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
TerryL
29 December 2023 23:02
42
Aha!
Solved it. Needed a more complete url;
.suitepicon-module-policies:before {
content: url(“/crm/themes/SuiteP/images/umbrella-32.gif”);
}
2 Likes
rsp
2 January 2024 14:41
43
Are you able to update icon at all places for your custom module POLICIES?
Like sidebar, subpanel and browser tab?
TerryL
13 February 2024 20:52
44
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");
}
rsp
14 March 2024 20:41
46
Did you do Hard reload & cache clear on your browser?
yeah i did cleared all the cache and tried repair and build also.
rsp
1 August 2024 20:06
48
Does it work for you?
I am not able to update it in browser’s tab? How to do it?
rsp
2 August 2024 13:13
49
Do you know how to add a custom browser tab icon for SuiteCRM?
rsp
2 August 2024 19:20
50
I think I found it. You need to remove .svg from this location:
themes/SuiteP/images/MODULE.svg
Then paste your file here and do hard reload and clear cache on the browser after deleting suiteP folder from the cache folder.
pgr, this coud help you
Admin -> System Settings -> Display module icon as favicon
[image]
but the main favicon remains in home
best regards
Browser tabs
[image]
Here - are usually controlled by a favicon.ico and the sugar_icon.ico files.
These files are located here;
find . -name ‘*icon.ico’
/var/www/html/public_html/core/app/shell/src/themes/suite8/images/favicon.ico
/var/www/html/public_html/extensions/defaultExt/app/src/favicon.ico
/var/www/html/public_html/public/favicon.ico
/var/www/html/public_html/public/legacy/themes/suite8/images/sugar_icon.ico
/var/www/html/public_html/public/legacy/themes/suite8/images/sidebar/m…
1 Like