Magazine Basic
[resolved] header.php not working on buddypress pages (6 posts)

  1. kvschwartz
    Posted 2 years ago #

    When I update the header to contain my own menu, it breaks into an bulleted list with little style on the buddypress pages.

    Where can I go from here?

    Thank you

  2. Jesin A
    Posted 2 years ago #

    It could be that the CSS class is different on those pages. Please post your site's URL.

  3. kvschwartz
    Posted 2 years ago #

  4. Jesin A
    Posted 2 years ago #

    The problem is because of relative paths.

    On line 128 of http://kvscreative.com/creativene/ there is a stylesheet

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

    This stylesheet provides style to the #menu element.

    This file is at http://kvscreative.com/creativene/css/style.css

    But when accessing http://kvscreative.com/creativene/register-2/ the browser requests this file at


    due to the relative path. Since that file is not present there no styles are applied to #menu.

    To fix this use an absolute path

    <link rel="stylesheet" type="text/css" href="http://kvscreative.com/creativene/css/style.css">

    The image shown before each submenu item also has relative paths. Take the Artists menu as an example.

    <li class="has-sub">
    	<a href="artists.html">
    		<li class="last">
    			<a href="#">
    					<img src="images/icons/male.png">Artist Name

    The absolute path to male.png is http://kvscreative.com/creativene/images/icons/male.png

  5. kvschwartz
    Posted 2 years ago #

    thank you so much for your help!

  6. Jesin A
    Posted 2 years ago #

    You're welcome!

    As I said before you'll have to fix the path of the images next to each submenu item.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.