The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Portal block css editing

5 posters

Go down

Portal block css editing Empty Portal block css editing

Post by Decibel March 27th 2008, 2:13 pm

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.
Decibel
Decibel
Forumember

Male Posts : 201
Reputation : 10
Language : english
Location : Canada

http://decibels.forumsmusic.com

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by Jalokim March 27th 2008, 4:13 pm

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;
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
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by Decibel March 27th 2008, 4:15 pm

Ok, i got the image url..what do you mean by changing the image info?
Decibel
Decibel
Forumember

Male Posts : 201
Reputation : 10
Language : english
Location : Canada

http://decibels.forumsmusic.com

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by Uber Lord March 27th 2008, 9:58 pm

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
Uber Lord
Forumember

Male Posts : 710
Reputation : 18
Language : English
Location : USA

http://computerworld.forumotion.com/index.htm

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by Jalokim March 28th 2008, 1:57 pm

what i mean is that you paste your image url to:
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
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by Maxiamento March 28th 2008, 4:43 pm

ooh interresting is it possible to give evermodule different borders though?
Maxiamento
Maxiamento
Forumember

Posts : 182
Reputation : 0
Language : English

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by zakir321 March 29th 2008, 2:58 am

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...

Smile
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by Jalokim March 29th 2008, 10:31 am

^^^ ooooh .... interesting
This is going into my bible of CSS stuff. Thanks sunny
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Portal block css editing Empty Re: Portal block css editing

Post by zakir321 March 29th 2008, 4:32 pm

Very welcome. Wink
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum