WordPress.org

Ready to get started?Download WordPress

Forums

Enlarge Text
Strange background image (3 posts)

  1. Ian McLeish
    Member
    Posted 2 years ago #

    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/

  2. Ian McLeish
    Member
    Posted 2 years ago #

    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.

  3. Scott Fennell
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic