Zum Inhalt springen

Schriftgröße bei ve_guestbook

Erstellt am 7. Januar 2006 · 7 Antworten · letzte Antwort am 27. Januar 2006

Tags: HTML & CSS, Frage

pihe ·

Hallo zusammen und ein gutes neues Jahr!

Ich habe das Gästebuch per CSS nach meinen Wünschen konfiguriert, nur die Schriftgröße der Felderbeschriftung, z.B.

Vorname*
Nachname*
usw.

lässt sich nicht einstellen.

Ich habe per CSS die Schriftgröße generell auf 75% gesetzt, klappt überall, nur hier nicht. Hat jemand eine Idee?

Viele Grüße
Hermann

skipjack ·

Hi,

ich denke ich kann dir da helfen 😉

Ich würde hingehen und im tmpl file also in der Template Datei von ve_guestbook schauen in welchen divs?(<div class=""></div> die Ausgabe bzw. Vorname* usw. drin steht und dann ggfs eine class zuteilen und dann font-size: 12px;

ich finde eine lösung mit 75% sowieso ugly oder seh ich das flasch? mfg. tobi

pihe ·

Hallo!

Mir ist nicht so ganz klar, wo ich die entsprechenden Angaben finde, habe mein Template hier mal aufgeführt

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ve_guestbook</title>
</head>
<body>
<h3>TEMPLATE_LIST</h3>
<br />
<br />
<br />
<br />
<!-- ###TEMPLATE_LIST### begin
Teasing the gustbook

Following markers will be substituted:

###GUESTBOOK_FIRSTNAME### 	Firstname (Entry)
###GUESTBOOK_SURNAME###		Surname (Entry)
###GUESTBOOK_EMAIL_URL### 	E-Mail URL (Entry)
###GUESTBOOK_EMAIL### 		E-Mail including spam protection if activated (Entry)
###GUESTBOOK_HOMEPAGE### 	Website (Entry)
###GUESTBOOK_PLACE### 		Place (Entry)
###GUESTBOOK_ENTRY### 		Message (Entry)

And the field names...

###FORM_FIRSTNAME### 		Firstname
###FORM_SURNAME###			Surname
###FORM_EMAIL### 			E-Mail
###FORM_HOMEPAGE### 		Website
###FORM_PLACE### 			Place
###FORM_ENTRY### 			Message
-->
###RESULT_COUNT### <div align="right" font size= "10px">###LINK_PREV### ###PAGES### ###LINK_NEXT###</div>
	<!-- ###CONTENT### begin
		  This is the part of the template substituted with the list of entries: 
	-->
	
		<!-- ###ENTRY### begin 
			Template for a single item 
		-->
		<br/>
			<table cellpadding="1" cellspacing="0" border="0" width="62%">
			<tr>
				<td bgcolor="#000000">
					<table cellpadding="3" cellspacing="0" border="0" width="100%">
					<tr>

						<td valign="top" colspan="2" class="tx-guestbook-list-header">###GUESTBOOK_FIRSTNAME### ###GUESTBOOK_SURNAME### ###GUESTBOOK_FROM### ###GUESTBOOK_PLACE###</td>
					</tr>
					<tr>
						<td class="tx-guestbook-list-rowleft" width="30%" valign="top">
						
		<!-- ###ENTRY_EMAIL### begin 
			This will be stripped out if empty
		-->
						<p><a href="###GUESTBOOK_EMAIL_URL###">###GUESTBOOK_EMAIL###</a></p>
		<!-- ###ENTRY_EMAIL###  end -->
		<!-- ###ENTRY_HOMEPAGE### begin 
			This will be stripped out if empty
		-->
						<p><a href="###GUESTBOOK_HOMEPAGE###" target="blank">###FORM_HOMEPAGE###</a></p>
		<!-- ###ENTRY_HOMEPAGE###  end -->						
						&nbsp;</td>
						<td valign="top" class="tx-guestbook-list-row"><span class="tx-guestbook-list-small">###GUESTBOOK_DATE###</span><br/>
							###GUESTBOOK_ENTRY###
		<!-- ###ENTRY_ENTRYCOMMENT### begin 
			This will be stripped out if empty
		-->					
							<p><span class="tx-guestbook-list-entrycomment-title">###FORM_ENTRYCOMMENT###:</span><br><span class="tx-guestbook-list-entrycomment">###GUESTBOOK_ENTRYCOMMENT###</span></p>
		<!-- ###ENTRY_ENTRYCOMMENT###  end -->							
							</td>
					</tr>
					</table>
				</td>
			</tr>
			</table>
		<!-- ###ENTRY### end-->
	
	<!-- ###CONTENT###  end -->
<br/><div align="right">###LINK_PREV### ###PAGES### ###LINK_NEXT###</div>

<!-- ###TEMPLATE_LIST### end -->



<!-- ###TEMPLATE_NO_ENTRIES### begin
No entries found :-(

Following markers will be substituted:

###GUESTBOOK_FIRSTNAME### 	Firstname
###GUESTBOOK_SURNAME###		Surname
###GUESTBOOK_EMAIL_URL### 	E-Mail (URL)
###GUESTBOOK_EMAIL### 		E-Mail including spam protection if activated
###GUESTBOOK_HOMEPAGE### 	Website
###GUESTBOOK_PLACE### 		Place
###GUESTBOOK_ENTRY### 		Message

-->

<table cellpadding="1" cellspacing="0" border="0" width="100%">
<tr>
	<td bgcolor="#000000">
		<table cellpadding="3" cellspacing="0" border="0" width="100%">
		<tr>
			<td valign="top" class="tx-guestbook-list-header">###NO_ENTRIES_HEADLINE###</td>
		</tr>
		<tr>
			<td valign="top" class="tx-guestbook-list-row">###NO_ENTRIES_TEXT###</td>
		</tr>
		</table>
	</td>
</tr>
</table><br/>
<!-- ###TEMPLATE_NO_ENTRIES### end -->


<!-- ###TEMPLATE_TEASER### begin
Showing the guestbook

Following markers will be substituted:

###TEASER_HEADLINE###		Headline (from the language file)
###TEASER_MORE###			More (from the language file)
###GUESTBOOK_FIRSTNAME### 	Firstname
###GUESTBOOK_SURNAME###		Surname
###GUESTBOOK_EMAIL_URL### 	E-Mail (URL)
###GUESTBOOK_EMAIL### 		E-Mail including spam protection if activated
###GUESTBOOK_HOMEPAGE### 	Website
###GUESTBOOK_PLACE### 		Place
###GUESTBOOK_ENTRY### 		Message

-->
			<table cellpadding="1" cellspacing="0" border="0" width="100%">
			<tr>
				<td bgcolor="#000000">
					<table cellpadding="3" cellspacing="0" border="0" width="100%">
					<tr>
						<td valign="top" class="tx-guestbook-latest-header"> ###TEASER_HEADLINE###</td>
					</tr>
					<tr>
						<td valign="top" class="tx-guestbook-latest-row">
	<!-- ###CONTENT### begin
		  This is the part of the template substituted with the list of entries: 
	-->
		<!-- ###ENTRY### begin 
			Template for a single item 
		-->						
						<p><span class="tx-guestbook-list-small">###GUESTBOOK_DATE###</span><br/>
							###GUESTBOOK_FIRSTNAME### ###GUESTBOOK_SURNAME###:<br/>###GUESTBOOK_ENTRY###</p>
		<!-- ###ENTRY### end-->		
	<!-- ###CONTENT###  end -->
							<p align="right"><!--###LINK_ITEM###-->###TEASER_MORE###<!--###LINK_ITEM###--></p></td>
					</tr>
					</table>
				</td>
			</tr>
			</table><br/>
		

<!-- ###TEMPLATE_TEASER### end -->




<!-- ###TEMPLATE_FORM### begin

The guestbook form for a new frontend entry

Following markers will be substituted:

###FORM_FIRSTNAME### 	Firstname
###FORM_SURNAME###		Surname
###FORM_EMAIL### 		E-Mail
###FORM_HOMEPAGE### 	Website
###FORM_PLACE### 		Place
###FORM_ENTRY### 		Message

-->
<span class="tx-guestbook-form-error">###FORM_ERROR###</span>###FORM_ERROR_FIELDS###
<table cellpadding="0" cellspacing="0" border="0">
<form name="formular" method="post" action="###ACTION_URL###">
<tr>
	<td valign="top"><table cellpadding="3" cellspacing="3" border="0">
			<tr>
				<td>###FORM_FIRSTNAME### <span class="tx-guestbook-form-obligationfield">###FORM_FIRSTNAME_OBLIGATION###</span></td>
				<td><input type="text" name="tx_veguestbook_pi1[firstname]" value="###VALUE_FIRSTNAME###" class="tx-guestbook-form-inputfield-med"></td>
			</tr>
			<tr>
				<td>###FORM_SURNAME### <span class="tx-guestbook-form-obligationfield">###FORM_SURNAME_OBLIGATION###</span></td>
				<td><input type="text" name="tx_veguestbook_pi1[surname]" value="###VALUE_SURNAME###" class="tx-guestbook-form-inputfield-med"></td>
			</tr>
			<tr>
				<td>###FORM_EMAIL### <span class="tx-guestbook-form-obligationfield">###FORM_EMAIL_OBLIGATION###</span></td>
				<td><input type="text" name="tx_veguestbook_pi1[email]" value="###VALUE_EMAIL###" class="tx-guestbook-form-inputfield-med"></td>
			</tr>
			<tr>
				<td>###FORM_HOMEPAGE### <span class="tx-guestbook-form-obligationfield">###FORM_HOMEPAGE_OBLIGATION###</span></td>
				<td><input type="text" name="tx_veguestbook_pi1[homepage]" value="###VALUE_HOMEPAGE###" class="tx-guestbook-form-inputfield-big"></td>
			</tr>
			<tr>
				<td>###FORM_PLACE### <span class="tx-guestbook-form-obligationfield">###FORM_PLACE_OBLIGATION###</span></td>
				<td><input type="text" name="tx_veguestbook_pi1[place]" value="###VALUE_PLACE###" class="tx-guestbook-form-inputfield-big"></td>
			</tr>

<!--###CAPTCHA_INSERT### this subpart is removed if CAPTCHA is not enabled! -->
			<tr>
				<td valign="top">###FORM_CAPTCHA_RESPONSE###<br> ###SR_FREECAP_NOTICE### ###SR_FREECAP_CANT_READ###</td>
				<td><input type="text" class="tx-guestbook-form-inputfield-med" name="tx_veguestbook_pi1[captcha_response]" title="###SR_FREECAP_NOTICE###" value="">
        ###SR_FREECAP_IMAGE###</td>
			</tr>
<!--###CAPTCHA_INSERT###-->

			<tr>
				<td>&nbsp;</td>
				<td><input type="hidden" name="id" value="###PID###"><input type="hidden" name="tx_veguestbook_pi1[submitted]" value="1"><input type="submit" value="###FORM_SUBMIT###"></td>
			</tr>
		</table>
	</td>
	<td valign="top"><table cellpadding="3" cellspacing="3" border="0">
						<tr>
							<td valign="top">###FORM_ENTRY### <span class="tx-guestbook-form-obligationfield">###FORM_ENTRY_OBLIGATION###</span></td>
							<td><textarea name="tx_veguestbook_pi1[entry]" class="tx-guestbook-form-textarea" rows="8" cols="25">###VALUE_ENTRY###</textarea></td>
						</tr>
					</table></td>
</tr>
</form>
</table><br>
<!-- ###TEMPLATE_FORM### end -->
</body>
</html>
Unbekannter Benutzer ·

Ab Zeile 167 ( <!-- ###TEMPLATE_FORM### begin --> ) beginnen die Definitionen für das Formular...

Da findest du dann z.B. ###FORM_FIRSTNAME###
Da kannste deinen Code drum herum setzen...

Bist du mit HTML/CSS bewandert? Wundert mich das du das nicht gefunden hast

pihe ·

Hi!

Kenne mich solala mit CSS aus. Egal, wo ich die DIV-Anweisungen einfüge, klappt nicht 😢

Echt ärgerlich!

Noch nen Tipp?

VG
pihe

pihe ·

Hallo!

Auch wenn ich nerve, ich kriegs nicht hin:

Ich habe hier meine CSS-Anweisungen für das Gästebuch aufgeführt, alles möglichen Dinge kann ich hier einstellen, klappt auch, nur die Schriftgröße der der Beschriftungsfelder (Name, Borname, usw.) kann ich nicht einstellen.

.tx-guestbook-list-header { background-color: #0066FF; color: #FFFFFF; font-weight:bold; font-size:12;width:400}
    .tx-guestbook-list-row { background-color: #FFFFFF; font-size:12px}
    .tx-guestbook-list-rowleft { background-color: #EEEEEE; }
    .tx-guestbook-list-entrycomment-title {font-weight: bold; font-size:12px}
    .tx-guestbook-list-entrycomment { font-style: italic; }
    .tx-guestbook-list-small { font-size: 9px; color: #666666; }
    .tx-veguestbook-pi1-browsebox TD { font-size: 12px; color: #666666; }
    .tx-veguestbook-pi1-browsebox-strong, .tx-ttnews-browsebox-SCell { font-weight: bold; }
    .tx-veguestbook-pi1-browsebox-SCell { background-color: #EEEEEE; }
    .tx-guestbook-latest-header { background-color: #539521; color: #FFFFFF; font-weight:bold; }
    .tx-guestbook-latest-row { background-color: #FFFFFF; }
    .tx-guestbook-latest-small { font-size: 9px; color: #666666; }
    .tx-guestbook-form-inputfield-med { border-style: solid; border-width: 1pt; border-color:#0066FF; font-size:12; color:#333333; width:100; height:20; }
    .tx-guestbook-form-inputfield-big { border-style: solid; border-width: 1pt; border-color:#0066FF; font-size:12; color:#333333; width:150; height:20; }
    .tx-guestbook-form-textarea { border-style: solid; border-width: 1pt; border-color:#0066FF; font-size:12;color:#333333; width:250; }
    .tx-guestbook-form-obligationfield { color: #CC0000; font-size:12px}
    .tx-guestbook-form-error { color: #CC0000; }

Hilfe wäre nett!

Danke
piehe