How to edit background color on memberships page?

I have a template and I was wondering how to edit the background color on the page blocks? On one page, everything is transparent except the block that shows my current membership icon.

 

Quote · 3 Oct 2012

Do you have my membership badge mod installed ?

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 5 Oct 2012

Membership badge mod? The only mod for memberships I got with Dolphin is the Membership mod. But that whole box is white, even where the text is. I just need to know what css I need to edit to fix this. I believe it's a css problem.

 

Is it a free or paid mod? If it's paid, then that's why i don't have it. The website I am setting up is on a free host at the moment. It won't be released for some time, but I would like to have everything finished before I release it.

Quote · 5 Oct 2012

10 seconds to find using firebug.

levels.css

div.mbp-level-content {
    min-height116px;
    padding-left126px;
}

Add the background color.

div.mbp-level-content {
    min-height116px;
    padding-left126px;
    background-color: #000000;
}
https://www.deanbassett.com
Quote · 5 Oct 2012

I'm looking and I don't have a level.css in the base template folder or the template folder that I am currently using.

 

Found it. Thank you. Didn't think to check modules/boonex/membership/templates/base/css/

 

 

I'm still having a problem. I want the background to be transparent because of my background image. How do I do that? Right now, I have this:

 

div.mbp-level-content {
    min-height: 116px;
    padding-left: 126px;
    background-color: transparent;
}

 

But the background is still white.

Quote · 5 Oct 2012

Sorry.,

modules\boonex\membership\templates\base\css\levels.css

Or if there is a template folder in modules\boonex\membership\ for your custom template then change it there.

And if this is a purchased template, then contact the template developer. They need to be informed of the problem so it can be fixed.

https://www.deanbassett.com
Quote · 5 Oct 2012

It's a free template from the TMD Hosting website. In my previous post, I edited it. I'm still having a problem. I edited the content in the base template folder. When I changed to black (#000000), it changed fine. When I typed transparent, it stayed white.

Quote · 5 Oct 2012

Then change that edit back to what it was and change this instead. It's in the same file.

div.mbp-current-level div.mbp-level {
    background-color#FFFFFF;
    margin0;
    padding10px;
    positionrelative;
}

Change to this.

div.mbp-current-level div.mbp-level {
    background-color: transparent;
    margin0;
    padding10px;
    positionrelative;
}


https://www.deanbassett.com
Quote · 5 Oct 2012

Thank you so much. That worked. I've been trying to get that figured out for close to a week now and you helped me get it within 20 minutes. Thank you again.

 

Ran into another problem but got it fixed. I put the background-color: transparent; under div.mbp-current-level div.mbp-level instead of div.mbp-current-level. It's working fine now 100%. Thank you.

Quote · 5 Oct 2012

If your not using firefox, then you should. There is a addon for firefox called firebug that helps you find stuff like this. Caching has to be off in dolphin to use it.

This is how i find it all. We can't possibly memorize all of it, and this is the tool most of us use to find these things.

https://www.deanbassett.com
Quote · 5 Oct 2012

Turn off the dolphin caching while doing template work.

Admin->settings->advanced settings then templates.

Then manually clear the cache by removing all files from the cache folder except for the .htaccess file.

Leave caching off while working on the template.

https://www.deanbassett.com
Quote · 5 Oct 2012

Thanks for the tip. I do have Firefox. I'll get that in a little while so if I run into any more problems, maybe I'll be able to get it fixed.

Quote · 5 Oct 2012

Another tip.

Browsers sometimes cache CSS. Firefox also caches javascript.

So after making a change to a page, hold down ctrl and press F5

In firefox F5 refreshes the current page, But CTRL+F5 tells firefox to clear the cached data for that page first.

https://www.deanbassett.com
Quote · 5 Oct 2012

Thank you. You've been very helpful.

Quote · 5 Oct 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.