WordPress.org

Support

Support » Plugins and Hacks » Enlarge Text » [Plugin: Enlarge Text] Strange background image

[Plugin: Enlarge Text] Strange background image

  • Hi, I have been trying out this plugin, and it works very well. Using it with a custom theme called infocus by mysitemyway.com.

    I know nothing about coding, but it seems that the code

    if(jQuery.cookie('page_size')==1){
    jQuery('#make_large').addClass('active');
    }

    in enlarge-text.php is causing the ” active selection”, which on my site is causing an image to be inserted behind the letter, and it looks pretty bad. I did an inspect element in IE, and the icon being inserted behind the letter is part of the icons included within the infocus theme. I have absolutely no idea how to sort this out, and don’t even know if I should ask here of there, but if I renamed all those active words to activated, the strange icon disappears. I can find various references to active in the css file the site uses, but none reference this inserted icon.

    Would anyone be able to give me a pointer or two as to how I might go about styling the widget- like the one in the download of version 1.2- I would hope that by adding a backround colour, or changing the font colour, I might be able to override this strange effect.

    You can see it here- http://www.mcoptom.ie/test2

    Any suggestions would be greatly received.

    Ian

    http://wordpress.org/extend/plugins/enlarge-text/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I got this sorted. There was a css file which included jquery toggle formatting- that was my problem. I changed the class to class1 in the php file which stopped it inserting the background image, and I can now also add a line in there to highlight the selected size.

    Plugin Author Scott Fennell

    @scofennellgmailcom

    How’s it going?

    Yes, my fault for using such a generic class name for the active state — clearly it’s likely that other themes and plugins will use the same class name . I’ll change it to something like et_active next time I update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Enlarge Text] Strange background image’ is closed to new replies.
Skip to toolbar