Problem with CSS color change.

When you enable allow members to change templates in admin, a new menu item appears to allow the member to select a template.

The problem is the script that generates the list of templates is over riding text color specified in CSS. Script generates this.

<a class="button more_ntop_element" style="color: rgb(51, 51, 51); font-weight: bold;" href="javascript: void(0)">Deanos Basic Black</a>

The color value is specified in code over riding the color i set in CSS.

This make designing templates a bit difficult.

Can we get this fixed please.


https://www.deanbassett.com
Quote · 9 Dec 2009

Here is a screen shot of the problem area i am trying to change the text color on.


https://www.deanbassett.com
Quote · 9 Dec 2009

Been there... done that...

I entered this ticket a while ago: http://www.boonex.com/trac/dolphin/ticket/1544

It affects the same element you're talking about, which css was hard coded in BxBaseMenu.php to color #333

I applied the change set and it works much better.  You can then style that element in topmenu.css in your different templates.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 10 Dec 2009

Oh ok. Cool. At least it's fixed. I'll grab the change set later.

https://www.deanbassett.com
Quote · 10 Dec 2009

Did you have problems with all of the sub menu items?

I am only having the problem with that one sub menu.

I am guessing there is more than one location in the script that hard codes the colors. I hope they got them all.

I'll have to get that change set and see.

https://www.deanbassett.com
Quote · 10 Dec 2009

Ok. Case closed. The change set fixes the problem.

Thanks for your help.

https://www.deanbassett.com
Quote · 10 Dec 2009

Yeah... my problem was that the submenu active links color, was hard coded to 333, which didn't look so good on my dark menus.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 10 Dec 2009

I am reopening this topic.

I have found another area that i cannot adjust colors on via CSS.

It's the top menu search area. I can get every thing except the input area font colors.

<div id="gse_search" style="height: 33px;">

<form name="SearchForm" method="get" action="searchKeyword.php">
<input id="keyword" type="text" onblur="if ('' == this.value) this.value = 'Search'; this.style.color='#D4D4D4';" onfocus="if ('Search' == this.value) this.value=''; this.style.color='#333333';" value="Search" name="keyword" style="color: rgb(212, 212, 212);"/>
</form>
</div>

As you can see, javascript changes the colors when the area is clicked on.

Not sure how this could be moved to CSS. Perhaps just take it out what has to do with re-coloring and just leave in the script that clears the field on click. And let us control the foreground color in the gse_search property.

I am working on a complete template for D7 including the recolorizing of all modules and the tinymce if i can.

Still have not quite figured out the best way to do a tinymce theme.

I am sure there will be other problem areas. I will post here when i find them.




https://www.deanbassett.com
Quote · 14 Dec 2009

I know people like screenshots. So here is one of the problem area.



The font color is the default. And looks fine on the black BG until it's clicked on. Then The color changes because of the built in javascript to a darker color that is hard to read.

https://www.deanbassett.com
Quote · 14 Dec 2009

When you enable allow members to change templates in admin, a new menu item appears to allow the member to select a template.

The problem is the script that generates the list of templates is over riding text color specified in CSS. Script generates this.

<a class="button more_ntop_element" style="color: rgb(51, 51, 51); font-weight: bold;" href="javascript: void(0)">Deanos Basic Black</a>

The color value is specified in code over riding the color i set in CSS.

This make designing templates a bit difficult.

Can we get this fixed please.


Hello find this css style - more_ntop_elemen in css directory and will write this code - color : red !important;

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 Dec 2009

When you enable allow members to change templates in admin, a new menu item appears to allow the member to select a template.

The problem is the script that generates the list of templates is over riding text color specified in CSS. Script generates this.

<a class="button more_ntop_element" style="color: rgb(51, 51, 51); font-weight: bold;" href="javascript: void(0)">Deanos Basic Black</a>

The color value is specified in code over riding the color i set in CSS.

This make designing templates a bit difficult.

Can we get this fixed please.


Hello find this css style - more_ntop_elemen in css directory and will write this code : color : red !important;


Yes, that one was fixed in the last patch for RC2. I am now pointing out a new one.

Perhaps i should have started a new topic instead of reopening this one.

https://www.deanbassett.com
Quote · 14 Dec 2009
 
 
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.