Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Totally Ignore CSS & Javascript in Menu Code using in SideBar?


  #1  
Old Jan 10, 2012, 06:43 PM
GRF
 
76 posts · Mar 2011
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?
  #2  
Old Jan 10, 2012, 08:40 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Link to site?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 10, 2012, 10:18 PM
GRF
 
76 posts · Mar 2011
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
  #4  
Old Jan 11, 2012, 06:50 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You could try something like the following in CSS Inserts. The left sidebar should also probably be wider.
HTML Code:
.imsubc {
    display: inline !important;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to Ignore CSS created menu code styles? GRF Sidebars & Widgets 3 Oct 1, 2011 07:07 PM
No Javascript in Text Widget (adsense code) kitetheworld Sidebars & Widgets 3 Jul 3, 2011 09:25 AM
[SOLVED] Can't save code that includes javascript? horsemansarts Installing & running WordPress 2 Feb 18, 2010 02:34 PM
Left Sidebar css and javascript. Right sidebar tabs. Not visible or configurable. jinglebells New Versions, & Updating 2 Jun 6, 2009 09:22 PM


All times are GMT -6. The time now is 04:58 AM.


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