The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

customise the background and colour

View previous topic View next topic Go down

Solved customise the background and colour

Post by iyaaz on February 26th 2014, 8:02 pm

Hello

i would like to to know how can i customise the background and colour my text in to my forum rules box. 



iyaaz
Forumember

Male Posts : 350
Reputation : 8
Language : English
Location : London

http://iyaaz.forumotion.co.uk/

Back to top Go down

Solved Re: customise the background and colour

Post by Pizza Boi on February 26th 2014, 8:47 pm

Hi Very Happy

You can do that via HTML and CSS Coding. This is an example and have been tested already, so it SHOULD work:

Code:
<html>
<head>
<style>
p#rules {
background-color: black;
  background-img:url('IMG LINK HERE')
font-family: arial;
  font-size: 20px;
}
</style>
</head>
<body>
<p id="rules">The administrator will not be held liable, bla bla bla bla bla</p>
</body>
</html>

You can modify any bit of the code I provided or ADD anything you wish.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: customise the background and colour

Post by Mati on February 26th 2014, 8:54 pm

You can use such BBCode table.


Code:
[table style="background-color: #ECD5D8; border: 1px solid #B40000; border-radius: 3px; color: #BC2A4D; padding: 8px; width: 99%;" cellspacing="0"][tr][td]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.[/td]
[/tr]
[/table]

DEMO:
Spoiler:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.

Mati
Active Poster

Posts : 1884
Reputation : 283
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://footballforums.forumotion.net/

Back to top Go down

Solved Re: customise the background and colour

Post by Pizza Boi on February 26th 2014, 8:59 pm

Mati™ wrote:You can use such BBCode table.


Code:
[table style="background-color: #ECD5D8; border: 1px solid #B40000; border-radius: 3px; color: #BC2A4D; padding: 8px; width: 99%;" cellspacing="0"][tr][td]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.[/td]
[/tr]
[/table]

DEMO:
Spoiler:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.

Hi Very Happy

Or that, lol. I forgot you can use a different type of editing for FM now  Embarassed .

Thanks for pointing that out, Mati  :wouhou: !

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: customise the background and colour

Post by iyaaz on February 26th 2014, 10:46 pm

solved by Mati

iyaaz
Forumember

Male Posts : 350
Reputation : 8
Language : English
Location : London

http://iyaaz.forumotion.co.uk/

Back to top Go down

Solved Re: customise the background and colour

Post by Ange Tuteur on March 4th 2014, 12:40 am

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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