cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Web Templates and CSS

Former Member
0 Likes
470

Hi guys!

I want to know the way I can change the css to some web template. The following link says I can do it in the General tab properties of the template...

http://help.sap.com/saphelp_nw04/helpdata/en/1f/37813b650cdc0be10000000a114084/content.htm

but I'm not able to see that in my WAD(7.10 sp 3 revision 387). It only alows me to change template description...

Could you help me? Can I switch css's on run time, how?

Thanks!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

martin

u will not be able ot change the CSS template in BI 7.0

this option is not available in 7.0

it was only available in 3.5 which this link is talking about...

there r some ways where u can save the copy of current portal theme in bi 7.0 and than make changes to it.

this settings can be done thru SPRO

u need authorizaiton for this

meanwhile check the authorization and let us know

can u elaborate what properties u intend to change with css template....

if possible u can change soem settings thru Wad also...

Former Member
0 Likes

So there is no way in WAD 7.0 to assign directly a CSS to a Web Template...

What about doing that using Javascript to change it in runtime? (some example?)

Kartikey, could you explain me how can I do if want to set diferent styles to diferent sets of templates without replicating the properties in each one template?

Thanks a lot!

Former Member
0 Likes

You can place some code in your template to run your required CSS.

Browsers have a feature whereby the latest definition of a style is used. So, if you define a style near the beginning of a template (like the defalut styles are probably defined), then later on in the template (say where you can add your own stuff) you redefine that same style, the later style will be used.

You could use this approach to customise the individual templates that you are trying to change. Just add the required style at the start of your BODY section and you should be fine.

If you want to continue with CSS (which I suppose is a good idea) you should be able to store the CSS in the MIME repository, and refer to that file.

Cheers,

Andrew

Former Member
0 Likes

Hi,

Y dont u use the thems in the portal?

Mandha

Answers (1)

Answers (1)

Former Member
0 Likes

Martin,

We edit the .css when needed in Notepad - archiac but its the only way I know how. We are on 3.5

We've taken the default template that you select, made a copy of it and created a few different style sheets that vary primarily on font sizes. Then per template we pick the best fit .css to go with the template,

Regards

Gill

Former Member
0 Likes

Ok I got you but in WAD 7.0 that's not possible, isn't it?

Is there a way to do that in WAD 7.0? wath about changing css using Javascript?

Thanks!!