11
studioC
Re: additional newsblock with short text of news needed?
  • 2004/12/5 12:15

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello jdseymour,

thought i put this in readme ! didn't I?

Quote:
To get your blockcontent styled like you want:
i put a div class="xf_block" around each block (foreach) so you can
grab it by adding the following into your cssfile
(default is: style.css in your actual themfolder) with e.g. :


.xf_block div{}
.xf_block h1{font-size:13px;}
.xf_block p{font-size:12px;text-align:justify;}
.xf_block img{border:0px;padding:0px;}
...
or what you want
...


add your preffered settings for that images in
.xf_block img {} and it will do this for you

don't hesitate to post if theres another problem...

michael

12
jdseymour
Re: additional newsblock with short text of news needed?

Is that a new class I have to create, or built in?

Sorry for newbie questions.

13
studioC
Re: additional newsblock with short text of news needed?
  • 2004/12/5 12:20

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


yes, this is the easiest way not to effect behaviour of other images.

cheers

14
studioC
Re: additional newsblock with short text of news needed?
  • 2004/12/5 12:24

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


me lazy again,

just add

.xf_block img {padding-right:5px;}

into your style.css and it will do this padding for your image in these blocks.
michael

15
jdseymour
Re: additional newsblock with short text of news needed?

Perfect, thanks again.

Login

Who's Online

126 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 126


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits