Portal block css editing
Page 1 of 1•
Portal block css editing
Is it possible to add a link for a bar to the top of each portal block? I'm kinda new to css editing and think I found where it goes(blockquote), but not sure how to incorporate it..Thanks in advance.
Re: Portal block css editing
Its not block quote! that I am certain of
. the CSS editing of the portal block will effect every one of your portal blocks.
in your CSS locate;
just add the image url script and change the image info
. the CSS editing of the portal block will effect every one of your portal blocks.
in your CSS locate;
- Code:
/* Modules-------------------------------------------------*/
.module {
margin-bottom: 4px;
padding: 0 10px;
background-image: url('URL of bar');
background-repeat: repeat-x;
background-color: color;
color: text color;
just add the image url script and change the image info

Jalokim- Graphic Designer




- Posts : 837
Joined : 04 Aug 2007
Age : 18
Language : English,Polish,French,Afrikaans
Location : Poland
Re: Portal block css editing
Jalokim wrote:
in your CSS locate;
- Code:
/* Modules-------------------------------------------------*/
.module {
margin-bottom: 4px;
padding: 0 10px;
background-image: url('URL of bar');
background-repeat: repeat-x;
background-color: color;
color: text color;
just add the image url script and change the image info
He means that find that code in Administration Panel -> Styles -> Colors -> CSS Stylesheet.

Uber Lord- Forumotion Member



- Posts : 653
Joined : 12 Jan 2008
Age : 14
Language : English
Location : Why Are You Still Reading This?
Re: Portal block css editing
what i mean is that you paste your image url to:
set the background color of the portal block at:
and finally set the color of the text on the portal in:
- Code:
background-image: url('URL of bar');
set the background color of the portal block at:
- Code:
background-color: set color;
and finally set the color of the text on the portal in:
- Code:
color: text color;

Jalokim- Graphic Designer




- Posts : 837
Joined : 04 Aug 2007
Age : 18
Language : English,Polish,French,Afrikaans
Location : Poland
Re: Portal block css editing
ooh interresting is it possible to give evermodule different borders though?
Re: Portal block css editing
pretty much, but only for those modules that you can edit (this is for example not the case for the Recent Topics or the News module). Edit your module in the Portal Structure site and place the following codes:
<div class="block1" width="100%" height="100%"> at the beginning of the module, and
</div> at the very end of the module so that the whole content is wrapped.
The red part is the class of that modules background. All div's with the same class will get the same background. That means if you want another module to have another background, name it's class "block2", "block3" and so on. Note that a class should always start with a letter.
Now you can go to your CSS ("Styles / Colors / CSS Stylesheet") and enter these codes to the textfield - one for each class:
.module .block1 {background-image:url("IMAGE URL 1")}
.module .block2 {background-image:url("IMAGE URL 2")}
etc...

<div class="block1" width="100%" height="100%"> at the beginning of the module, and
</div> at the very end of the module so that the whole content is wrapped.
The red part is the class of that modules background. All div's with the same class will get the same background. That means if you want another module to have another background, name it's class "block2", "block3" and so on. Note that a class should always start with a letter.
Now you can go to your CSS ("Styles / Colors / CSS Stylesheet") and enter these codes to the textfield - one for each class:
.module .block1 {background-image:url("IMAGE URL 1")}
.module .block2 {background-image:url("IMAGE URL 2")}
etc...

Sunny_D- Moderator




- Posts : 1654
Joined : 26 Mar 2007
Age : 23
Language : german|english
Location : barely on msn these days. sorry :)
Re: Portal block css editing
^^^ ooooh .... interesting
This is going into my bible of CSS stuff. Thanks sunny
This is going into my bible of CSS stuff. Thanks sunny

Jalokim- Graphic Designer




- Posts : 837
Joined : 04 Aug 2007
Age : 18
Language : English,Polish,French,Afrikaans
Location : Poland
Re: Portal block css editing
Very welcome. 

Sunny_D- Moderator




- Posts : 1654
Joined : 26 Mar 2007
Age : 23
Language : german|english
Location : barely on msn these days. sorry :)

Home




by Decibel on Thu Mar 27, 2008 8:13 am