Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Totally Ignore CSS & Javascript in Menu Code using in SideBar? (http://forum.bytesforall.com/showthread.php?t=16474)

GRF Jan 10, 2012 06:43 PM

Totally Ignore CSS & Javascript in Menu Code using in SideBar?
 
I use a menu system from Open Cube and it saves the menu in a file with custom CSS and Javascript.

But when I include the code in the side bar using a Text widget, everything is all messed up.

Is there any way to tell Atahualpa 3 to ignore the CSS and Javascript so it display correctly?

lmilesw Jan 10, 2012 08:40 PM

Link to site?

GRF Jan 10, 2012 10:18 PM

http://www.selfdefensegearco.com/personal-protection/

Scroll down and the menu is in the left sidebar just after "Past Articles" section.

I include these 2 files in a Text widget:

<script language="JavaScript" src="http://www.selfdefensegearco.com/personal-protection/imenus0.js" type="text/javascript"></script>
<script language="JavaScript" src="http://www.selfdefensegearco.com/personal-protection/ocscript.js" type="text/javascript"></script>

I did a global replace of ";}" with " !important;}" in both .js files

lmilesw Jan 11, 2012 06:50 AM

You could try something like the following in CSS Inserts. The left sidebar should also probably be wider.
HTML Code:

.imsubc {
    display: inline !important;
}



All times are GMT -6. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.