Solved

projectseven plugin in a site full of css already

Posted on 2006-10-27
2
207 Views
Last Modified: 2013-11-18
Hi -  I need to implement a menu system (i'm using one from projectseven).  The issue is that this site already has extensive css.  The menu will be going into a <div> tag -  otherwise empty.  I probably also want to make it two deep (that is, I may even make 2 horizontal menus - each with sub menus).


I thought I'd also make this an include file.   this projectseven system comes with it's own css file that is in conflict with the existing one.   Is there a way to avoid this conflict or must I alter the existing css file?

You see the older css file has, for it's area , some tags specifically dealing with navigation - and ul and li and a.   So does the new one from p7, which is in it's own folder.  

I'm hoping there is a way to do this easily, but not sure..........

Thanks in advance

Linque



0
Comment
Question by:linque
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
VirusMinus earned 500 total points
ID: 17824078
change either your css or project seven's.. whichever is easier.

if your menu or project seven's is going into a div of its own, give that div an id say "nav-menu" and get your menu ul's and li's and a's to be referenced based on that..

eg.

<div id="nav-menu">

all your ul's and li's and a's are here

<ul>
<li><a>..</a></li>
<li><a>..</a></li>
<li><a>..</a></li>
..
</ul>

</div>

and in your css to target only the menu inside this div.. you would do..

#nav-menu ul{}/*for all uls inside nav-menu*/

#nav-menu ul li{}/*for all li's inside all ul's inside nav-menu*/

#nav-menu ul li a{} /* you get the idea*/

etc. etc.
0
 

Author Comment

by:linque
ID: 17824244
Thanks Virus!!
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question