Escolar Documentos
Profissional Documentos
Cultura Documentos
and Change Password field and the last but not the least : The famous Flower background image.
Dig out to find the path for template_css.css file, where all the layout and color codings are well set. You can
very well download it and modify and replace. And template_login for the layout of your client logo. Hell yeah,
we want to make the logo responsive too
. Make sure you make a copy of SAP version for future reference
(Refer to the NEW section below as changing the standard code is not recommended)
Once you are done with replacing of images in the mime rep and modifying the CSS files as per your client
requirement. You are just done
For the love of cartoons, I have tried this and you can as well try it out and make your customer's happy.
Drill down to <div tag and you can see the logo id and will be displayed above the logo as well.
.sapUiSraFooter. Now find the same id in your css file and modify as required. if you click on the class below.
Right screen will show you all the styles used in the class :Here you see background-color: is blue. Click on it
and you can change as required, but it will be a temporary change. To save it, deploy the same solution in your
css code to be modified in template_css.css
For eg : Changing the login button color, when you are hovering over the button :
.sapMBtn.sapMBtnEmphasized:hover { background-color: #7FFF00; border-color: #7FFF00; } Gives
you a green color
For login page customization, below ids will be useful :
.sapUiSraLoginLogo
.sapUiSraLoginCopyright
.sapUiSraLoginPage
.sapUiSraLoginButtonBlock
.sapUiSraLoginForm
Remember to always change the same in all the view : mobile desktop and mobile landscape.
In my next blog : I will show you, how you can use CSS in your launchpad to change Tile colors, background,
Theme and Texts, Font colors, Font size and other things. Check below :
CSS for Fiori Launchpad
Let me know if you want to know more about the page customization.
NEW : Please note : Above steps should only be performed, if you are not willing to upgrade your SAP UI5
library . If you have implemented above steps and you upgrade your library version, your changes will be gone
and not saved.
Instead, create a custom class-> ref to /UI2/CL_SRA_LOGIN and include method :
INIT_DEFAULT_PROPERTies ( be your custom ) and configure the same in your sicf node properties.. Also
add your custom images on your mime rep.
Cheers
Tejas
7764 Views Tags: sap_mobile, sap_fiori, fiori, loginpage_fiori, fiori_css
Tarun Sharma
Apr 28, 2016 9:47 AM
Nice Explanation Tejas
Sreehari V Pillai in response to Bhavin A Shah on page 10
Sree
Kavitha G in response to PARTH BUDHIRAJA on page 7
Jul 21, 2015 1:03 PM
Did you achieve this? Am trying the same and facing the same issue. The logo image size comes from the img
src width set by SAP (no idea in which file it is defined).
Kavitha G
Jul 21, 2015 1:00 PM
Hi Tejas Chouhan
I replaced the SAP logo with customer logo but the width of the logo is coming from the img src. So I'm not able
to resize it using any of the CSS classes in template_css.css file. How did you achieve the cartoon network
logo size by just replacing the sap_logo in the mime repository?
Thanks
Kavitha
PARTH BUDHIRAJA
May 11, 2015 12:46 PM
Hi Tejas
Very nice blog. I just want to change the size of the logo I have uploaded. I did the following changes so that
my image get enlarge, but all in vain. The image source tag <img> contains fixed width of 64px everytime I load
the launchpad. How to solve this. Your kind help is needed.
sapUiSraLoginLogo {
1. position : absolute;
2. left : 16px;
3. height: 32px;
4. width: 50px;
}
Note: I have uploaded the logo of exactly same dimension as original sap_logo does.
onclick="fioriLogin.submitLogin('@sys_form_input_processing', '@sys_form_event_changepwd',
true)"><span class="sapMBtnContent sapMLabelBold">@label_change_password</span></button>
</div></div>
Regards,
Tejas
Rajan Murthy
Feb 8, 2015 6:38 AM
Tejas, I want to remove "Change password" from the login Screen..whats the best way to do that
Tejas Chouhan in response to Sreehari V Pillai on page 10
Jan 21, 2015 8:41 AM
Thanks
Sreehari V Pillai
Jan 21, 2015 8:14 AM
Cool one Tejas.
Tejas Chouhan in response to Bhavin A Shah on page 10
Jan 8, 2015 6:55 AM
Hi Bhavin,
Right now the page is static, as we have replaced SAP login page with ours.
Once your new products are launched, may be you have to handle it manually by replacing the previous image
with the new one.
Reg
Tejas
Bhavin A Shah
Jan 8, 2015 6:39 AM
Hi Tejas,
. However, I would like to know whether I can change my logon wall paper dynamically
Syam Babu
Jan 7, 2015 10:13 AM
Well explanation Tejas
Thanks,
Syam
Tejas Chouhan in response to Jeremy Good on page 11
Jan 7, 2015 8:08 AM
Jeremy Good
Jan 6, 2015 11:44 PM
Thank you Tejas!