meclotel Posted February 23, 2011 Share Posted February 23, 2011 i have installed TinyMCE_update_repackV0.2.zip. i got it from here. everything is great but i can't chage the background color.i attached a photo with the mce.if i check with firebug it sais that content.css looks like this: body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} body {background-image: none; background-color: white;} body.mceForceColors {background:#FFF; color:#000;} * .mceContentBody { background: #000000; } h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} h4 {font-size: 1em} h5 {font-size: .83em} h6 {font-size: .75em} .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px; background:url(img/items.gif) no-repeat bottom left;} img.mceItemAnchor {width:12px; height:12px; background:url(img/items.gif) no-repeat;} img {border:0;} table {cursor:default} table td, table th {cursor:text} ins {border-bottom:1px solid green; text-decoration: none; color:green} del {color:red; text-decoration:line-through} cite {border-bottom:1px dashed blue} acronym {border-bottom:1px dotted #CCC; cursor:help} abbr, html\:abbr {border-bottom:1px dashed #CCC; cursor:help} /* IE */ * html body { scrollbar-3dlight-color:#F0F0EE; scrollbar-arrow-color:#676662; scrollbar-base-color:#F0F0EE; scrollbar-darkshadow-color:#DDD; scrollbar-face-color:#E0E0DD; scrollbar-highlight-color:#F0F0EE; scrollbar-shadow-color:#F0F0EE; scrollbar-track-color:#F5F5F5; } but if i go to content.css it actualy looks like this: body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} body {background:#FFF;} body.mceForceColors {background:#FFF; color:#000;} h1 {font-size: 2em} h2 {font-size: 1.5em} h3 {font-size: 1.17em} h4 {font-size: 1em} h5 {font-size: .83em} h6 {font-size: .75em} .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px; background:url(../default/img/items.gif) no-repeat bottom left;} img.mceItemAnchor {width:12px; height:12px; background:url(../default/img/items.gif) no-repeat;} img {border:0;} table {cursor:default} table td, table th {cursor:text} ins {border-bottom:1px solid green; text-decoration: none; color:green} del {color:red; text-decoration:line-through} cite {border-bottom:1px dashed blue} acronym {border-bottom:1px dotted #CCC; cursor:help} abbr, html\:abbr {border-bottom:1px dashed #CCC; cursor:help} /* IE */ * html body { scrollbar-3dlight-color:#F0F0EE; scrollbar-arrow-color:#676662; scrollbar-base-color:#F0F0EE; scrollbar-darkshadow-color:#DDD; scrollbar-face-color:#E0E0DD; scrollbar-highlight-color:#F0F0EE; scrollbar-shadow-color:#F0F0EE; scrollbar-track-color:#F5F5F5; } that part with contentbody is missing. where should i go and change it? Link to comment Share on other sites More sharing options...
Zion Zangar Posted February 25, 2011 Share Posted February 25, 2011 Helloin your file, change the syntax * .mceContentBody { background: #000000; } to body.mceContentBody { background: #ffffff; /*or backround: none */ } With greetings Link to comment Share on other sites More sharing options...
meclotel Posted February 26, 2011 Author Share Posted February 26, 2011 as i said, i don't have that syntax in my file. it is shown only in firebug. in my actual file it's missing completly. i don't know where firebug it's getting it from.. Link to comment Share on other sites More sharing options...
ccr Posted February 28, 2011 Share Posted February 28, 2011 Dunno whether this will work for you but basically this is what I did when i ran into similar issues. You have to change the global.css file for the css set properties AND for others you need to modify some of the .tpl files in the Prestashop install folder. Firebug shows not only the properties from .css but also those set by .tpl. Check in your prestashop folder for file contents "item you are looking for" and then change the appropriately... Gud luck Link to comment Share on other sites More sharing options...
Recommended Posts