Roberto Yébenes Roberto Yébenes - 1 year ago 122
CSS Question

How create style on websphere portal 7 based on theme

we are using Websphere Portal 7 and I need to create a new style based on Theme wich is working, only need this sytle for one page and I'm very new on websphere portal.

Can you help me?

Answer Source

I solved this doing a check based on the page id, I just needed modify the default.jsp page from Skin deployed. This works for my side.

<% boolean mobileLogin = false; %>
<portal-logic:if selection="EXAMPLE.PublicArea.myMobilePage">
    .section-mobile {
    width: 50%;
    margin: 0 auto;
    text-align: center;
.login{margin:0 auto;}</style>
<div class="section-mobile">
<img src="/Theme/themes/html/MyTheme/img/logo.gif" class="logo-mobile">
<c:if test="${!renderPlaceholdersOnly}">
<% mobileLogin = true; %>

<% if (mobileLogin != true){
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download