I am working on a site for a client, where he purchased a theme, and the theme won't work with this module. I have tried editing the CSS file for the theme to change the way the font sizes are set (It was set by px originally, I changed it all to %'s) however I've had no luck getting this module to work with the theme.
Is there a guide somewhere that tells me what I need to do to make the theme compatible with this module?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | style.txt | 35.59 KB | ensignavenger |
Comments
Comment #1
CZ commentedHello James Lee Vann
Please post some more information about your browser name and version, your cookie handling (are cookies allowed?), JavaScript handling and your theme example the "body" element style in CSS file(s) example in "sites/all/themes/themename/style.css":
Comment #2
ensignavenger commentedI have tried it in both Firefox 3.5.8 and IE 8. I am fairly certain it is my theme, as it works fine with Garland and other Drupal themes. Cookies are allowed. Javascript is allowed.
My styles.css file is attached. (Changed to .txt because it wouldn't let me upload a .CSS file) I have tried different versions of it, using % for font sizes and so forth, but nothing has worked. This version is the one that came with the theme. Thanks, I really appreciate your help! I'll try to respond back more timely to the next reply!
Comment #3
CZ commentedHello James Lee Vann
You have to change the code on line 7 to:
And define under "admin/settings/textsize#edit-textsize-normal" the "Normal Text Size" to "75%" (12px are 0.75em or 75%).
Comment #4
ensignavenger commentedOkay, I removed line 7, as shown above. I also made the admin changes.
It still isn't working. Firebug is showing a javascript error in jquery, but I'm not very familiar with javascript. It works fine with the Garland theme.
Here is the site I am working on: http://www.localhearing.com/
Thank you!
Comment #5
CZ commentedThe JavaScrip error generate the "Text Resize" module. Please disable or delete this module.
Check the permission of the Text Size module.
Comment #6
ensignavenger commentedI have uninstalled the text resize module and made sure that all users have permission to access the Text Size module. Still no change.
Comment #7
CZ commentedProblem 1: The theme have still "font-size" values in pixel "px" (see "Requirements"). For example ".content { font-size: 12px;}" in style.css.
Problem 2: The jquery-1.3.2.min.js file in your theme ("sites/localhearing.com/themes/theme345/js/jquery-1.3.2.min.js") could have a problem or is incompatible with the jQuery Cookie Plugin (jquery.cookie.min.js) file. Is this file (jquery-1.3.2.min.js, a jQuery JavaScript Library) required?
Another solution for problem 1: You can define a div element on: "admin/settings/textsize#edit-textsize-element" and a class ".content" on "admin/settings/textsize#edit-textsize-element-class-wrapper" and check "Overwrite text size in templates" on: "admin/settings/textsize#edit-textsize-important".
Another solution for problem 2: You can disable JavaScript on: "admin/settings/textsize#edit-textsize-javascript".
Comment #8
ensignavenger commentedI don't think that javascript is necessary any longer, so I'll remove it. Also, you mentioned the "requirements" section above- I couldn't find it in the read me or in the module folder. I finally found it in the Drupal Help system- you might consider adding that to the Readme file, as that is exactly what I've been looking for. I'll apply your suggestions tomorrow and let you know how it turns out! Thanks!
Comment #9
baff commentedActivated Module breaks theming in Internet Exlorer 6 and 8
Comment #10
ensignavenger commentedThanks! Looks like that got everything working.
@baff- not quite sure what your referring to- I know there is an isue with the theme in IE8, where there is a gap between the banner element and the Custom element, I am also trying to fix that- is that what your telling me about? Do you know what is causing that?
Comment #11
ensignavenger commentedEverything is working now. Closing the issue. Thanks.