[TYPO3-english] 6.2.4 bootstrap package and logo
Jerzy Skalski
jerzy.skalski at gmail.com
Wed Aug 27 16:00:31 CEST 2014
W dniu 27.08.2014 o 08:44, Katja Lampela pisze:
> Hi,
>
> I can't find a way to add alt and title text to logo which is importes
> as constant in the bootstrap introduction package:
>
> page.logo.file = fileadmin/logo.png
>
> Any idea how to add the title/alt?
>
Hi,
try this way:
1. Copy files EXT:bootstrap_package/Resources/Private/Partials/Page/*.*
to fileadmin/template. Create this folder before.
2. Open the file fileadmin/template/Navigation/Main.html and change a line:
<img src="{f:uri.image(src: logoFile)}" height="{logoHeight}"
width="{logoWidth}" />
to:
<img src="{f:uri.image(src: logoFile)}" height="{logoHeight}"
width="{logoWidth}" alt="your alt text" title="your title text" />
3. Save this file
4. Add a following TypoScript code:
page.fluidtemplate.partialRootPath = fileadmin/template/
I didn't check it but i hope it works.
--
Regards
Jerzy Skalski
More information about the TYPO3-english
mailing list