• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: css/everything help
PostPosted: Mon Nov 01, 2004 7:32 pm 
what could be causing the strange colored box around the vertical menu, and why is the vertical menu pushing the content box down

http://www.bewbs.com/V2/index.php?page=test

also, any suggestions on how to make it look better under ie6


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Mon Nov 01, 2004 10:11 pm 
The content is being pushed down because you are using relative positioning.
Remove the top: 59px; line from the CSS and that will solve it.
The only strange colored box I could see is caused by the transparent.png

HTH

Steve


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Tue Nov 23, 2004 9:26 pm 
Thank you...this worked!


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: dhtmlmenu
PostPosted: Sun Nov 28, 2004 10:15 am 
how can i change the color of the dhtml menu? i have changed every color in the template but its still grey!!!


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Nov 28, 2004 1:58 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jun 11, 2004 6:58 pm
Posts: 3332
Location: Fairless Hills, Pa USA
If you edit phplayers/layersmenu-cms.css, it will change it. We really need to move this into the default template's css...

_________________
http://about.me/tedkulp


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Mon Nov 29, 2004 12:42 am 
Offline
Power Poster
Power Poster

Joined: Sun Sep 26, 2004 6:15 pm
Posts: 598
Location: Saskatchewan - Canada
To control the menu CSS entirely from the one CSS file I took all the css out of phplayers/layersmenu-cms.css and added it to my css templates.

phplayers/layersmenu-cms.css is just a dummy file now.

Works great!

_________________
Greg


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 11:28 am 
I'm sorry that i have to reveal myself as a true Noobie...

But exactly what do i edit in phplayers/layersmenu-cms.css to change the colour of the dhtml?

I've tried to copy it & paste it on the bottom of my css template - then experimented changing all the background colour. But, alas, the dhtml still remains blue/grey!


Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 1:00 pm 
Offline
Power Poster
Power Poster

Joined: Sun Sep 26, 2004 6:15 pm
Posts: 598
Location: Saskatchewan - Canada
You are half way there with copying the code into your own template.

If you don't change any of the colors in phplayers/layersmenu-cms.css then those colors over-ride the colors you put in your own css. That is why I took all the code out of phplayers/layersmenu-cms.css and saved it as a dummy file.

phplayers/layersmenu-cms.css has no code in it but is still there so phplayers menu doesn't complain about a file not found.

_________________
Greg


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 1:52 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jun 11, 2004 6:58 pm
Posts: 3332
Location: Fairless Hills, Pa USA
We NEED to come up with a better workaround for this problem. I'm not totally sure how to handle it, though. Maybe phplayers should have an option to not inlclude the css file? Maybe there should be a stylesheet hook that includes all the stuff from the css file into the css of the template? Any ideas?

_________________
http://about.me/tedkulp


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 3:44 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jun 11, 2004 6:58 pm
Posts: 3332
Location: Fairless Hills, Pa USA
That's actually a really good idea. I'm just wondering if it would break the upgrade path.

_________________
http://about.me/tedkulp


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 4:04 pm 
Offline
Power Poster
Power Poster

Joined: Sun Sep 26, 2004 6:15 pm
Posts: 598
Location: Saskatchewan - Canada
Another way is to utilize the cascade Specificity rules. I put only the selectors and attributes in my css that I want to change and specify the #leftnav id selector in front of each class. eg
\$1:
/* phpmenu css */
#leftnav .verbar   {
   color: black;
   background-color: #edb;
}

#leftnav .subframe   {
   background-color: #edb;
}
#leftnav .item   {
    font-size: 12px;
    background-color: #53302D;
    color: #fff;
    font-weight: bold;
    border: 1px solid #000;
    margin:2px;   
}
#leftnav .separator   {
    background-color: #edb;
    border-top: 1px solid #322;
    border-bottom: 1px solid #edb;
    margin: 4px 1px 3px 1px;    /* top right bottom left */
}
#leftnav .item a   {
    color: #fff;
}
#leftnav .item a:link   {
   color: #fff;
}
#leftnav .item a:visited   {
   color: #fff;
}
#leftnav .item a:hover   {
   color: #322;
   background-color: #ffe;
}


In my template I have the menu in a div with id leftnav

\$1:
<div id="leftnav">
{cms_module module="phplayers" showadmin="0"}
</div>



As '#leftnav .class' is more specific than just '.class' it take precedence.

ID's always have the greatest weight when it comes to specificity.

Big John has it all explained here here

However this is probably too complicated of an approach

_________________
Greg


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 5:58 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jun 11, 2004 6:58 pm
Posts: 3332
Location: Fairless Hills, Pa USA
Yeah, but that's assuming that IE (which most people still use... why is beyond me) actually does the cascading properly. :)

I was actually thinking something along those lines as well, but instead having the phplayers module actually put the css into the same stylesheet (through stylesheet.php) BEFORE the rest of the CSS so that cascading would work. Between that, and an option to turn off the phplayers CSS completely, I think it would be flexible enough, though far from perfect.

_________________
http://about.me/tedkulp


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Sun Jan 02, 2005 6:08 pm 
Offline
Power Poster
Power Poster

Joined: Sun Sep 26, 2004 6:15 pm
Posts: 598
Location: Saskatchewan - Canada
Cascade works in IE 6, maxthon, and Moz 1.7.5 for sure. I don't have firefox, opera or any other browsers installed so have no way to test them.

_________________
Greg


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Mon Jan 03, 2005 1:33 am 
Offline
Power Poster
Power Poster

Joined: Sun Sep 26, 2004 6:15 pm
Posts: 598
Location: Saskatchewan - Canada
OK , I installled FireFox and the cascade works correctly in it as well.
Now I am Up to date with the rest of the world. :D

_________________
Greg


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: css/everything help
PostPosted: Mon Jan 03, 2005 1:52 am 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jun 11, 2004 6:58 pm
Posts: 3332
Location: Fairless Hills, Pa USA
Welcome. It's a nice place to be... :)

_________________
http://about.me/tedkulp


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting