Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to create submenu containing BuddyPress tabs (editing header.php)?


raynerlim36
Participant

@raynerlim36

Hi mcrustk2

Did you put the CSS in a file called custom.css or inside the default.css file?

I copied David’s code into default.css below the Navigation section, copied David’s PHP, and bingo! It worked!

If you want it in a seperate CSS file, I think you have to import it in default.css

@import url( ../css/custom.css );

or link to it in header.php:

<link href="../css/custom.css" rel="stylesheet" type="text/css">

The url depends on where your custom.css file is stored.

Rayner

P.S. Your website is nice. Maybe you should try the Avenue K9 theme; it fits your site well. If you use it, just let me know, I’ve got the customised CSS for the subnav items for the theme.

Skip to toolbar