PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
CMS, Shopsoftware & Forensysteme
Joomla!
Joomla 1.6 - Button Icon für Link Text anzeigen CSS
Beitrag
<blockquote data-quote="knuffiwuffi" data-source="post: 1589933" data-attributes="member: 152224"><p><strong>AW: Joomla 1.6 - Button Icon für Link Text anzeigen CSS</strong></p><p></p><p>hat sich erledigt...so ersetzt man prev und next text link durch icons in Joomla 1.6 beta 11 mit beez_20 template. Der override (alles was !important hat) wirkt sich auf die layout.css aus und verpasst den Button per css ein Hintergrundbild (alles was unter include steht wurde ergänzt und ist so nicht in der layout.css)...der Textlink wird mit fontsize 0 einfach ausgeblendet:</p><p></p><p>[code]</p><p>#main ul.pagenav {</p><p> list-style-type:none;</p><p> padding:0;</p><p> overflow:hidden</p><p>}</p><p>ul.pagenav li</p><p>{</p><p> display:inline-block;</p><p> padding:0px;</p><p> margin:0;</p><p>}</p><p>#main ul.pagenav li </p><p>{</p><p> line-height:2em;</p><p>}</p><p>ul.pagenav li a</p><p>{</p><p> border:solid 0px #ccc !important; </p><p> display:inline-block !important; </p><p> background:none !important; </p><p> padding:2px; </p><p> text-decoration:none;</p><p>}</p><p>ul.pagenav li.pagenav_prev {</p><p> float:left;</p><p>}</p><p>ul.pagenav li.pagenav_next {</p><p> float:right;</p><p>}</p><p></p><p>/* include */</p><p>.pagenav_prev {</p><p> width: 24px; /* width of image */</p><p> height: 24px; /* height of image */</p><p> display: block; /* show image as link */</p><p> font-size: 0px; /* hide link text */</p><p> background-image: url(../images/icon_set_luna_grey/24x24/back.png); /* button or icon to replace text link */</p><p> background-repeat: no-repeat;</p><p> background-position: left center;</p><p>}</p><p>.pagenav_prev a {</p><p> width: 24px; /* width of image */</p><p> height: 24px; /* height of image */</p><p> display: block; /* show image as link */</p><p> font-size: 0px; /* hide link text */</p><p> background-image: url(../images/icon_set_luna_grey/24x24/back.png); /* button or icon to replace text link */</p><p> background-repeat: no-repeat;</p><p> background-position: left center;</p><p>}</p><p>.pagenav_prev a:hover,</p><p>.pagenav_prev a:active,</p><p>.pagenav_prev a:focus {</p><p> background-image: url(../images/icon_set_luna_grey/24x24/back.png) !important;</p><p> background-color:#FFF !important;</p><p> /* image or background color still showing on hover, active and focus */</p><p>}</p><p>.pagenav_next {</p><p> width: 24px; /* width of image */</p><p> height: 24px; /* height of image */</p><p> display: block; /* show image as link */</p><p> font-size: 0px; /* hide link text */</p><p> background-image: url(../images/icon_set_luna_grey/24x24/next.png); /* button or icon to replace text link */</p><p> background-repeat: no-repeat;</p><p> background-position: right center;</p><p>}</p><p>.pagenav_next a {</p><p> width: 24px; /* width of image */</p><p> height: 24px; /* height of image */</p><p> display: block; /* show image as link */</p><p> font-size: 0px; /* hide link text */</p><p> background-image: url(../images/icon_set_luna_grey/24x24/next.png); /* button or icon to replace text link */</p><p> background-repeat: no-repeat;</p><p> background-position: right center;</p><p>}</p><p>.pagenav_next a:hover,</p><p>.pagenav_next a:active,</p><p>.pagenav_next a:focus {</p><p> background-image: url(../images/icon_set_luna_grey/24x24/next.png) !important;</p><p> background-color:#FFF !important;</p><p> /* image or background color still visible on hover, active and focus */</p><p>}</p><p>[/code]</p></blockquote><p></p>
[QUOTE="knuffiwuffi, post: 1589933, member: 152224"] [b]AW: Joomla 1.6 - Button Icon für Link Text anzeigen CSS[/b] hat sich erledigt...so ersetzt man prev und next text link durch icons in Joomla 1.6 beta 11 mit beez_20 template. Der override (alles was !important hat) wirkt sich auf die layout.css aus und verpasst den Button per css ein Hintergrundbild (alles was unter include steht wurde ergänzt und ist so nicht in der layout.css)...der Textlink wird mit fontsize 0 einfach ausgeblendet: [code] #main ul.pagenav { list-style-type:none; padding:0; overflow:hidden } ul.pagenav li { display:inline-block; padding:0px; margin:0; } #main ul.pagenav li { line-height:2em; } ul.pagenav li a { border:solid 0px #ccc !important; display:inline-block !important; background:none !important; padding:2px; text-decoration:none; } ul.pagenav li.pagenav_prev { float:left; } ul.pagenav li.pagenav_next { float:right; } /* include */ .pagenav_prev { width: 24px; /* width of image */ height: 24px; /* height of image */ display: block; /* show image as link */ font-size: 0px; /* hide link text */ background-image: url(../images/icon_set_luna_grey/24x24/back.png); /* button or icon to replace text link */ background-repeat: no-repeat; background-position: left center; } .pagenav_prev a { width: 24px; /* width of image */ height: 24px; /* height of image */ display: block; /* show image as link */ font-size: 0px; /* hide link text */ background-image: url(../images/icon_set_luna_grey/24x24/back.png); /* button or icon to replace text link */ background-repeat: no-repeat; background-position: left center; } .pagenav_prev a:hover, .pagenav_prev a:active, .pagenav_prev a:focus { background-image: url(../images/icon_set_luna_grey/24x24/back.png) !important; background-color:#FFF !important; /* image or background color still showing on hover, active and focus */ } .pagenav_next { width: 24px; /* width of image */ height: 24px; /* height of image */ display: block; /* show image as link */ font-size: 0px; /* hide link text */ background-image: url(../images/icon_set_luna_grey/24x24/next.png); /* button or icon to replace text link */ background-repeat: no-repeat; background-position: right center; } .pagenav_next a { width: 24px; /* width of image */ height: 24px; /* height of image */ display: block; /* show image as link */ font-size: 0px; /* hide link text */ background-image: url(../images/icon_set_luna_grey/24x24/next.png); /* button or icon to replace text link */ background-repeat: no-repeat; background-position: right center; } .pagenav_next a:hover, .pagenav_next a:active, .pagenav_next a:focus { background-image: url(../images/icon_set_luna_grey/24x24/next.png) !important; background-color:#FFF !important; /* image or background color still visible on hover, active and focus */ } [/code] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 7, ▼ = 3, ◇ = 2 und die Summe von ▲ und ▼ durch ◇ geteilt wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
CMS, Shopsoftware & Forensysteme
Joomla!
Joomla 1.6 - Button Icon für Link Text anzeigen CSS
Oben