Forums

[resolved] CSS not completely working in a custom plugin I'm working on... (2 posts)

  1. thetanooki
    Member
    Posted 2 years ago #

    Are there any lists of reserved CSS class names or javascripts or something that might conflict with custom plugins? I managed to get a working standalone version of a featured content slider, and am in the process of converting it into a WordPress plugin.

    I managed to call WordPress' version of jQuery, and two other javascript files (.js and .js.php), all of which seem to be loading just fine as evident by viewing the page's source code from my browser. I managed to load a custom style sheet, which also seems to be loading according to the source file as viewed through my browser. However, there's the following style...

    .nav-thumb { width: 80px; height: 45px; border: 1px solid white; margin: 0px 14px 0 4px; }

    ...and while it works in the standalone version as it should, in the plugin version it's only kinda sorta working. The size works - I try changing values, and it changes with it. Margin works. Border doesn't show at all. There's nothing in my custom theme that seems to conflict it, so I'm baffled.

    Any ideas? I'm supposed to use wp_enqueue_style, right?

  2. thetanooki
    Member
    Posted 2 years ago #

    Nevermind. It took me a day to give in and post that I needed help, and I figure it out right after I post. :P

Topic Closed

This topic has been closed to new replies.

About this Topic