Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Satish Gandham

    (@gandham)

    Which div are you talking about.
    Can you post a screenshot?

    Thread Starter Windavid

    (@windavid)

    Thanks Satish! Love the theme.

    Here’s a screenshot link. It shows how the simple javascript search widget is blown apart because of the table settings in the CSS (I think).

    Is there anyway I could put a <div> around this javascript to prevent it from adding any css style to this js?

    Thanks man

    Thread Starter Windavid

    (@windavid)

    I found this in the style.css. Maybe it has something to do with my problem?

    /* No JavaScript Fallback */
    /* If you are not using another script, such as Modernizr, make sure you
     * include js that eliminates this class on page load */
    .no-js .slides > li:first-child {display: block;}

    I still haven’t found how to eliminate the CSS styling on my javascript element.

    Here is the javascript I am trying to add to my page:

    <script language='Javascript' src='https://www.bookhostels.com/files/index.php?UserID=ADV-HUB.com&File=bighw&Language=English&Currency=USD&NewWindow=1&PropTypeSelect=1'></script>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    This is what it looks like when the page loads: Screenshot link

    How do I prevent it from blowing up?

    Thanks for the help!

    Theme Author Satish Gandham

    (@gandham)

    In swift there is an option to disable table styling under plugin compatibility.

    Thread Starter Windavid

    (@windavid)

    I used the “disable table styling” under the plugin compatibility tab, and it helped a little bit, but it’s still throwing off the javascript I pasted above.

    What I’m looking for is a HTML code which I can wrap around the javascript which will disable all CSS for the wrapped element (javascript in this case).

    The js works in the sidebar as a widget when I use the “HTML Javascript Adder” plugin, so I know the javascript it good.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to reset CSS for specific’ is closed to new replies.