Topic: style trouble
Hi,
I try to add a new style : alert
I add in oxygen_cs.css
SPAN.alert {font-weight: bold; COLOR: #FF0000}
--> the color is OK but not the font-weight
Where should i do a correction ?
Tx
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → style trouble
Hi,
I try to add a new style : alert
I add in oxygen_cs.css
SPAN.alert {font-weight: bold; COLOR: #FF0000}
--> the color is OK but not the font-weight
Where should i do a correction ?
Tx
That would depend where in the markup you are using the span.
Means ?
I call it by
<span class="alert">blablabla</span>
Yes but where are you using the span. On what page, between what other tags?
Ok so I used inside a plug-in module
always between tags <p> and </p>
for some inside
<th class="tcl" scope="col">
</th>
for others inside
<td> and </td>
You style is being overruled by this in base_admin.css
#adminconsole FIELDSET TD SPAN, #adminconsole FIELDSET TH SPAN {DISPLAY: block; FONT-SIZE: 1em; FONT-WEIGHT: normal}
Try putting your style at the end of base_admin.css like this
#adminconsole TD SPAN.alert, #adminconsole TH SPAN.alert {FONT-WEIGHT: bold}
Ok thanx
I add the line
#adminconsole TD SPAN.alert, #adminconsole TH SPAN.alert {FONT-WEIGHT: bold}
just before (and not at the end of base_admin.css)
#adminconsole FIELDSET TD SPAN, #adminconsole FIELDSET TH SPAN {DISPLAY: block; FONT-SIZE: 1em; FONT-WEIGHT: normal}
and it works
PunBB Forums → PunBB 1.2 troubleshooting → style trouble
Powered by PunBB, supported by Informer Technologies, Inc.