[TYPO3] MiniNews CSS - FIXED!
Scotty C
superscotty19 at yahoo.com
Mon Apr 3 00:15:47 CEST 2006
Susanne,
First of all, let me just say "YOU ARE BRILLIANT".
Although the tip you gave didn't work, it gave me an
idea. I went into the source code and found that the
<P> tags in the mininews section use classes. So, I
just pinpointed the class names and changed them up in
my CSS file. The classes are:
p.tx-mininews-pi1-fp_listrowField-datetime {
color:white; }
p.tx-mininews-pi1-fp_listrowField-title { color:red; }
p.tx-mininews-pi1-fp_listrowField-teaser {
color:white; }
THANK YOU SO MUCH!!! My site is exactly how I want it,
and I wish I could pay you back somehow!!!
-Scott.
--- Susanne Moog <mail at susanne-moog.de> wrote:
> Scotty C schrieb:
> > Hi Christian and Susanne,
>
> > But now I have a new problem: I need to set custom
> CSS
> > for the mininews module on the home page. You'll
> see
> > that it's got black text but needs to be white.
> The
> > problem is, it would appear that the mininews
> module
> > just uses the <P> tag styles, so if I set <P>
> color to
> > white, the text changes. However, so does the rest
> of
> > the text in the entire site. Looks like I've got
> > another mess - can anybody help here?
> >
> > Thanks so much!
> > -Scott.
>
> Hi again,
>
> if I saw this right in your source code the text is
> set in P-Tags with
> <P class="tx-mininews-pi1-fp_listrowField-teaser>.
> The classes change
> depending on the view used. But to change the CSS
> code: Copy the
> CSS-Code from the Source:
>
> /* default styles for extension "tx_mininews_pi1" */
> .tx-mininews-pi1 .tx-mininews-pi1-listrow
> P.tx-mininews-pi1-listrowField-title {
> font-weight:bold; }
> .tx-mininews-pi1 .tx-mininews-pi1-listrow
> P.tx-mininews-pi1-listrowField-teaser {
> margin-bottom:15px; }
> .tx-mininews-pi1 .tx-mininews-pi1-fp_listrow
> P.tx-mininews-pi1-fp_listrowField-title {
> font-weight:bold; }
> .tx-mininews-pi1 .tx-mininews-pi1-fp_listrow
> P.tx-mininews-pi1-fp_listrowField-teaser {
> margin-top:0px;
> margin-bottom:10px; }
> .tx-mininews-pi1 .tx-mininews-pi1-singleView
> P.tx-mininews-pi1-singleViewField-teaser {
> font-style:italic;
> margin-top:5px; margin-bottom:10px; }
> .tx-mininews-pi1 .tx-mininews-pi1-browsebox P
> SPAN.tx-mininews-pi1-browsebox-strong {
> font-weight:bold; }
> .tx-mininews-pi1 .tx-mininews-pi1-listrow
> P.tx-mininews-pi1-listrowField-teaser A {
> color:black;
> text-decoration:none; }
> .tx-mininews-pi1 .tx-mininews-pi1-listrow
> P.tx-mininews-pi1-listrowField-teaser A:hover {
> color:black;
> text-decoration:none; }
>
> Paste it into your own Stylesheet and change it
> there.
>
> Then put the following into your TS-Setup:
>
> plugin.tx_mininews_pi1._CSS_DEFAULT_STYLE >
>
> I'm not really sure if that works, but I think it
> should do the trick.
>
> Regards,
>
> Susanne
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
>
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the TYPO3-english
mailing list