Jump to content


Photo
- - - - -
Resolved

Navbar CSS changes not affecting all pages

navbar css

  • Please log in to reply
11 replies to this topic

#1 Kevan H

Kevan H

    Newbie

  • Members
  • 6 posts
  • LocationCanada
  • Framework Version:2.3

Posted 29 September 2012 - 08:45 PM

Hey everyone,

I'm a little new to Pagelines and CSS in general, so forgive me my problem is fairly basic to solve.

I'm currently trying to style the Navbar, and everything's mostly looking how I want it to on the main blog page. However, the changes that I'm making are not being reflected on any of the single post pages, author pages, search result pages, or really anything that isn't the main/home page. Changes to fonts, colors, link highlighting, the background image, etc, are all not being reflected, and I can't seem to identify how the navbar differs on other pages with Firebug, etc.

Since I'm developing this site locally, I'm not able to provide a link for the CSS. I've copied all of the navcode below, hopefully that's of some use to someone. Any help is much appreciated!

Thanks in advance,
Kevan

Please Login or Register to see this Hidden Content



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 30 September 2012 - 03:26 PM

It's appearing to be the same in Firefox on all posts and pages.

Is there a specific browser this is happening with?

#3 Kevan H

Kevan H

    Newbie

  • Members
  • 6 posts
  • LocationCanada
  • Framework Version:2.3

Posted 30 September 2012 - 04:12 PM

Seems to shopping up on all browsers. Or at least, Chrome, Firefox, and Safari (I haven't tried IE, but it's probably a safe bet).

#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 13239 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 01 October 2012 - 08:13 AM

Hi,

Can you provide screenshots of the what CSS is now applying, as well as concept images of what you're trying to achieve please.

#5 Kevan H

Kevan H

    Newbie

  • Members
  • 6 posts
  • LocationCanada
  • Framework Version:2.3

Posted 02 October 2012 - 04:05 AM

Certainly. Here's the nav bar as it appears on the home page:

Posted Image

and after I click on any single post or page:
Posted Image

#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 13239 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 02 October 2012 - 10:05 AM

Hi Kevan,

Thanks for the providing the image, would it be possible for you to provide a link to the site in question please.

#7 Kevan H

Kevan H

    Newbie

  • Members
  • 6 posts
  • LocationCanada
  • Framework Version:2.3

Posted 02 October 2012 - 04:41 PM

Danny,

Unfortuantely, I'm developing the site locally for the time being, so there's no link to provide. Sorry!

#8 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 October 2012 - 05:29 PM

When a live version of the site is available, would it be possible to post the link here?

#9 Kevan H

Kevan H

    Newbie

  • Members
  • 6 posts
  • LocationCanada
  • Framework Version:2.3

Posted 03 October 2012 - 04:00 PM

Catrina,

The reason I'm building a site in Pagelines in the first place is to replace the theme of an existing and operational site, so my plan was to not take the new theme live until everything was in place and ready to go. Since my hosting package only provides me with one database, I'm not able to develop and test online on a separate Wordpress install, and am not comfortable switching the existing theme to the one I'm working on now when it's as broken as it is.

I'll see if I can find a work-around for getting it online to share a link. In the meantime, if anyone has any suggestions to fix this navbar problem, it'd be much appreciated!

#10 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 03 October 2012 - 10:20 PM

Here's your problem:

Please Login or Register to see this Hidden Content


You are expecting WP to find an image file that has a specific location. I'm guessing you've uploaded it to your root directory. When you navigate to any other location in the site, the CSS is looking for that .jpg right there, not in the proper location, where the actual file is located. The fix would be to do this:

Please Login or Register to see this Hidden Content


Change "

Please Login or Register to see this Hidden Content

to the full URL to that image. Keep in mind that when you navigate to a category or other section, it's like going to a different folder. As with HTML, one folder cannot see into another unless it's link is properly pathed.

#11 Kevan H

Kevan H

    Newbie

  • Members
  • 6 posts
  • LocationCanada
  • Framework Version:2.3

Posted 05 October 2012 - 02:29 PM

Yep, that did it. Thanks a bunch, Rob!

#12 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 05 October 2012 - 03:19 PM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved, navbar, css