[ 
https://issues.apache.org/jira/browse/JSPWIKI-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex O'Ree resolved JSPWIKI-1196.
---------------------------------
    Resolution: Not A Problem

i kept working different solution and ended up with the following as a 
solution. no strange padding

 

LeftMenu (attach the product logo to this page), replacing mylogo for the 
actual file name


%%add-css
/* hide the default jspwiki logo */

/* put the clean-blue logo, attached to this page */

a.logo \{ border:none; text-indent:-99em;}
a.logo b:before \{ content:""; }

a.logo {
    background-image: url([LeftMenu/mylogo.png]);
    background-size: contain;
    background-repeat: no-repeat;

    height: 60px;
    width: 60px; 
}
/%

> Strange spacing after replacing the logo
> ----------------------------------------
>
>                 Key: JSPWIKI-1196
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1196
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Alex O'Ree
>            Priority: Minor
>         Attachments: image-2024-07-31-18-50-53-972.png, 
> image-2024-07-31-18-52-33-250.png
>
>
> I followed the guide here: 
> [https://jspwiki-wiki.apache.org/Wiki.jsp?page=How%20to%20change%20the%20site%20logo]
> for changing the site logo, hosted an image, plotted in the template and got 
> a strange div added to the page with a huge top padding adding to the page.
>  
> !image-2024-07-31-18-50-53-972.png!
> !image-2024-07-31-18-52-33-250.png!
> i'm not sure what's causing that div with the top adding to be added to the 
> page. looks like it's being added dynamically. any guidance on how to address 
> this?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to