Fork me on GitHub

Need Help with Custom Theme  Bottom

  • Hello all,

    My website is: http://www.poppashouse.com. For some reason, for some modules, there is a green bgcolor popping up and I have no clue where it is coming from. FOr example, if you click on the RESULTS link under POLLS on the right, you will see what I mean. There are a few others this is occurring for and I cannot figure it out. Any ideas?

    Thanks!

    Jim Janovich
  • Look at the style.css and in the theme.php file, odds are it's in one of them. Look for the 08B200 color code. What theme is it bassed on? (assuming you modified an existing theme, and didn't just create it from the ground up)
  • mhalbrook

    Look at the style.css and in the theme.php file, odds are it's in one of them. Look for the 08B200 color code. What theme is it bassed on? (assuming you modified an existing theme, and didn't just create it from the ground up)


    In addition to style.css (which is in the style sub-directory of the theme directory,) you also need to check the styleNN.css file. Many theme developers do not keep the style.css and styleNN.css files clean and re-define stuff in both files. In fact, styleNN.css is where all styles should be defined. The only styles in style.css are those that will *NOT* work in Netscape 4.x.

    On the other hand, start with theme.php as that's where most developers seem to put background colors.

    Actually, start by viewing the source from your browser. Look for the HTML that generates the offending color. Then search theme.php for similar code....
  • Thanks guys. I modified the ExtraLite theme and added a lot to it. Prior to submitting my original post, I checked the HTML code and could not find anything.

    Also, I did a screenshot, pulled the image into Photoshop and got the HEX code for the green color and search my entire /postnuke dir and found nothing. Also, I did a VIEW SOURCE, copy and pasted the code into Frontpage, in Normal mode it shows fine, in PREVIEW mode it shows the green.

    Any ideas?

    Thanks!

    Jim
  • bpoppa67

    Thanks guys. I modified the ExtraLite theme and added a lot to it. Prior to submitting my original post, I checked the HTML code and could not find anything.

    Also, I did a screenshot, pulled the image into Photoshop and got the HEX code for the green color and search my entire /postnuke dir and found nothing. Also, I did a VIEW SOURCE, copy and pasted the code into Frontpage, in Normal mode it shows fine, in PREVIEW mode it shows the green.

    Any ideas?

    Thanks!

    Jim


    If it's not in the HTML, then it's in one of the stylesheets.

    BTW, the screenshot & view in Photoshop may generate a different HEX code then what the stylesheet was generating....
  • hey that a nice theme. any chance of making it downloadable for people to download it? :)
  • So...I found the problem and have fixed it. Once I clean up some of the code, I will definitely post it to be downloaded. Once I do, I will let you know.

    Thanks again!

    Jim
  • You also might want to check your theme.cfg file.

    $miscellaneous = array (
    //Style sheet, logo image and colors used by modules by default
    'stylesheet' => "",
    'logo' => "default.gif", // [logo-image]
    'bgcolor1' => "beige", // [color1]
    'bgcolor2' => "#A28D64", // [color2]
    'bgcolor3' => "#CBB385", // [color3]
    'bgcolor4' => "#FFFFFF", // [color4]
    'textcolor1' => "#000000", // [color5]
    'textcolor2' => "#C5C1A0" // [color6]
    );

    This is where default theme colour for opentable()

This list is based on users active over the last 60 minutes.