Ning Developer Network

I have been trying for some time time to edit the appearance of individual Tabs in the main xg_navigation menu, using the 'Advanced' CSS edit part of the Appearance Management screen.

No luck - nothing I try seems to work (for a single tab only)

Can anyone tell me how to do it?

Thanks

joe

Tags: css, edit

Share Twitter

Reply to This

Replies to This Discussion

Hi joe,

What exactly are you trying to accomplish? Here is an example of how to make the members tab have a red border:

#xg_tab_members{
    border: thin solid red;
}

Reply to This

thanks for the reply - i worked it out yesterday

joe

Reply to This

Is there a way to use an image in place of text for the tabs using CSS?

Reply to This

so far - my knowledge of editing tab styles only runs to tabs for new pages I have created - but I believe this might be possible with a little html editing too

Reply to This

you could do that with css using the background-image attribute.

Reply to This

I see where i can Edit the Source Code Running My Network - where do I upload the image so I reference them correctly in the css background-image attribute?

Reply to This

There is no definitive guide written by anyone on how to edit the tab styles, use images etc. We could really do with one.... I have spent hours and hours messing around with them without a lot of success. These items need to be customisable within ning parameters - for network creators to be able to make their sites unique

Reply to This

Question

When you use a background image in a tab - how do you remove the label - leaving only the image ?

Joe

Reply to This

You can use a negative margin and make the text be out of bounds using a overflow:hidden on the container element, for example:

#xg_tab_members {
    overflow:hidden;
width:86px;
background-image:url(http://creativecommons.org/images/support/2006/spread-3.gif);
}

#xg_tab_members a{
margin-left: -200px;
background-color: transparent !important;
}

Reply to This

thanks for advice - I have this css in my edit:appearance:advanced text area - works fine in FF - but in Safari (augh!)

#xg_tab_gpnetworks,
#xg_tab_gpnetworks a {
width:124px;
height:23px;
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-right:1px solid #ffffff;
padding:0px;
font-size:0px;
overflow:hidden;
background-image: url(http://www.ning.com/home/apps/edit/editFile?appUrl=gpnetworks&f...);
background-repeat: no-repeat;
background-position: 0px 0px;
background-color: transparent !important;
}

Reply to This

Check out the tabs I created for http://www.helpgetmarried.com -- all done with CSS....

Reply to This

that looks great!

Reply to This

Reply to This

  • First
  • Previous
  • Next
  • Last
  • Page 1 of about 2

RSS

© 2010   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service