Author Topic: HTML ezBlock Background Color/Outline Color  (Read 2751 times)

0 Members and 0 Guests are viewing this topic.

Offline simply sibyl

  • Full Member
  • ***
  • Posts: 189
  • Karma: 35
    • View Profile
Re: HTML ezBlock Background Color/Outline Color
« on: September 18, 2010, 08:17:39 pm »
Only way I can think of to change the background color would be to do it the same way I had mentioned for the old legacy Portal on SMF for Free.   That will also work with HTML blocks with EzPortal with Create a Forum forums.   I tested it to be sure.

You'll need to Modify the css to do that.
Add this to your css:

Code: [Select]
.somename
{
   background-color:  #F3E4C3;
}

Directions for the above code:

change #F3E4C3 to the color you want the background of the html box to be
change somename to whatever you want to call it.   It can be left as "somename" but if you do change it make it unique.

Save the css, refresh browser.


Then edit your HTML box and do this:

Code: [Select]
<div class="somename">
your html goes here
</div>

replace somename with the name you used in the css

thats it!

If you want different colors for different boxes just make more classes in the css. 

Changing the borders is a different issue and would mean changing the border color in the css for that area (which would then change it throughout the forum)     Given how indepth the css is for 2.0 that would take me eons to figure out but you can at least do the backgrounds for now.   (works only for the html blocks)

Possibly some day he can code EzPortal so that you can make changes to the appearance of the boxes.
« Last Edit: September 18, 2010, 08:22:14 pm by simply sibyl »

 

Related Topics

  Subject / Started by Replies Last post
11 Replies
677 Views
Last post March 28, 2012, 01:29:14 am
by Andrew
0 Replies
179 Views
Last post November 22, 2012, 06:20:23 pm
by forum
4 Replies
796 Views
Last post March 06, 2013, 08:42:22 pm
by AnonyMister
5 Replies
1820 Views
Last post July 21, 2013, 06:40:39 pm
by Quazie89
10 Replies
3705 Views
Last post September 07, 2013, 05:36:29 pm
by aIURbliS