+ Start a Discussion
sunny.sfdcsunny.sfdc 

Homepage Component losing style on Visualforce tab click

Hi All

I am having problem restoring sidebar styles. I created a homepage component of type 'Visualforce' and two tabs 'Accounts' and 'Contacts' which redirect user to 'All List ' view for corresponding objects (As I do not want to see recent item page for accounts and contacts for some profiles). 

When I click on these visualforce tabs, my homepage component loses style. When I checked through developer tool a new css is getting applied i.e. ext-all-no-theme.css 

I have not mentioned style anywhere. Not sure why this is happening. Please let me know if anybody has experienced this problem before.

TIA
VPROKVPROK
Maybe, check if standardStylesheets is set to false on your tab pages
VPROKVPROK
this is a parameter on apex:page tag
Edwin VijayEdwin Vijay
Can you post a picture? Probably, this is due to CSS overlaps. Your custom CSS might be overriding standard salesforce CSS.
sunny.sfdcsunny.sfdc
Hi VPROK

Thanks for looking into the issue.

I haven't used standardStylesheet attribute in apex:page so I believe it is true by default.

Also I haven't used custom stylesheets as well.

TIA