DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: General Support
*****************************************************
#Post#: 1012--------------------------------------------------
HTML ezBlock Background Color/Outline Color
DIR By: 94AmTranVolunteer
Date: September 18, 2010, 2:27 pm
---------------------------------------------------------
Is there anyway I can change the Color and Outline Color of a
HTML ezBlock?
#Post#: 1013--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: Jaron
Date: September 18, 2010, 2:41 pm
---------------------------------------------------------
Not without changing the whole style, no.
I'm not 100% sure what part of the CSS you would need to change
that though. I'll try to find out. I think it's category
backgrounds... butttttt... again... not sure. lol
#Post#: 1014--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: 94AmTranVolunteer
Date: September 18, 2010, 2:43 pm
---------------------------------------------------------
Well, I Did see this on another Forum, which ran on SMF but it
ran SimplePortal, and the Forum itself ran SMF 1.11 instead of
SMF 2.0. Why does CreateAForum use ezBlock instead of Simple
Portal?
#Post#: 1015--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: Jaron
Date: September 18, 2010, 2:44 pm
---------------------------------------------------------
Because CAF created EzPortal.
#Post#: 1016--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: 94AmTranVolunteer
Date: September 18, 2010, 2:45 pm
---------------------------------------------------------
oh. I wish I could use SimplePortal, but ezBlocks are okay, but
with ezBlocks, there is no way you can change the background of
the ezBlock.
#Post#: 1017--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: simply sibyl
Date: September 18, 2010, 3:17 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 ---
.somename
{
background-color: #F3E4C3;
}
--- End Code ---
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 ---
<div class="somename">
your html goes here
</div>
--- End Code ---
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.
#Post#: 1018--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: 94AmTranVolunteer
Date: September 18, 2010, 3:30 pm
---------------------------------------------------------
thank you sibyl, the only problem is that i cannot find 'Legacy
Portal' on the Menu List.
#Post#: 1020--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: simply sibyl
Date: September 18, 2010, 3:32 pm
---------------------------------------------------------
--- Quote from: 94AmTranVolunteer link ---
>
> thank you sibyl, the only problem is that i cannot find
'Legacy Portal' on the Menu List.
>
--- End Quote ---
Sorry, maybe I wasn't very clear. I mentioned Legacy as thats
the old portal used on SMF for Free forums and this code is what
I came up with for them there. It'll work with your EzPortal on
your Create a Forum forum.
Just do the edits to the css, and the EzPortal html block as I
explained :)
#Post#: 1021--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: 94AmTranVolunteer
Date: September 18, 2010, 3:36 pm
---------------------------------------------------------
Sibyl, I did edit the CSS and put the HTML Code in and it did
not work.
#Post#: 1022--------------------------------------------------
Re: HTML ezBlock Background Color/Outline Color
DIR By: simply sibyl
Date: September 18, 2010, 3:36 pm
---------------------------------------------------------
--- Quote from: Seldom Fail link ---
>
> Not without changing the whole style, no.
>
> I'm not 100% sure what part of the CSS you would need to
change that though. I'll try to find out. I think it's category
backgrounds... butttttt... again... not sure. lol
>
--- End Quote ---
You'ld have to change the main_block.png image and know the
exact place in it to change to change that background. There
is no singular image for the category backgrounds with 2.0 ;)
Also would have to find where in the css to change the border
color. Those changes would of course, as you know, change
things forum wide.
*****************************************************
Page 1 of 2
DIR Next Page