function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karna_ShivaKarna_Shiva 

Visualforce page is not displaying properly on Salesforce1 app

Hi,

I have developed visualforce page and linked to close buttom(custom) on Opportunity detail page and able to see that button, but when I click button it is showing page, but not loaded backgroup style.

Can any one help me on this.

User-added image
Regards,
Karna.
Best Answer chosen by Karna_Shiva
Karna_ShivaKarna_Shiva
I have used the below tag and its worked well to display pageblock and pageblocksection contents on vf (pagestandardStylesheets="true") and no need to make page as complex by usig html + css

Any way thanks

All Answers

Sagar PareekSagar Pareek
The above green bar shows that you have created it by yourself. Remove that one. Also check that have you marked this page as Salesforce1 ready. 
Karna_ShivaKarna_Shiva
green bar - added by Salesforce, i haven't added that.
visualforce page is available for SF1 and could seen only content of pageblock or pageblocksection and no background style.
Sagar PareekSagar Pareek
You will need to add style from salesforce1 bootstrap http://developer.salesforcefoundation.org/#blog/post/2014/05/22/introducing-bootstrap-sf1.html
Karna_ShivaKarna_Shiva
I have used the below tag and its worked well to display pageblock and pageblocksection contents on vf (pagestandardStylesheets="true") and no need to make page as complex by usig html + css

Any way thanks
This was selected as the best answer