Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Black Bar Above the Menu

  1. #11
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, I think it's the fonts. Not sure where they are yet. But here's my evidence:

    If I take the working new page, copy it and put it on my local host server, I get this error:

    Code:
    Font from origin 'http://108.atwebpages.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
    And the menu thing doesn't work any more.

    If I look at your non-working page, I see this error:

    Code:
    Font from origin 'http://www.sg.terrybraunstein.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://sg.terrybraunstein.com' is therefore not allowed access.
    Needless to say, there's no such error on the working old version either.

    I'm pretty sure if I could navigate to:

    http://www.sg.terrybraunstein.com/events-news/

    It would work, but when I try, I see there's some sort of mod rewrite or something, and it takes me to:

    http://sg.terrybraunstein.com/events-news/

    again, where the thing doesn't work.

    I'm not sure where the font code is and how it got that www. put into it, but that should be fixed, and might be the problem.

    OK, now I see. It's coming from the @import line:

    Code:
    @import url('http://www.sg.terrybraunstein.com/wp-content/themes/yin_and_yang/style.css');
    should be:

    Code:
    @import url('http://sg.terrybraunstein.com/wp-content/themes/yin_and_yang/style.css');
    There could also still be other problems.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. The Following User Says Thank You to jscheuer1 For This Useful Post:

    mr108 (07-28-2016)

  3. #12
    Join Date
    Jul 2013
    Posts
    34
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    WOW! What a detective work!

    Quote Originally Posted by jscheuer1 View Post

    should be:

    Code:
    @import url('http://sg.terrybraunstein.com/wp-content/themes/yin_and_yang/style.css');

    Yes, that's must have been the cause since the Bar works now in all browsers.



    Quote Originally Posted by jscheuer1 View Post
    There could also still be other problems.
    Yes, there are and I was hoping that fixing the Bar problem would also fix the other problem that I posted in a separate thread here:
    http://www.dynamicdrive.com/forums/s...faulty-display

Similar Threads

  1. Black is the New Black
    By traq in forum Computer hardware and software
    Replies: 1
    Last Post: 08-29-2014, 09:33 AM
  2. [CSS] - Glossy Black Menu
    By allahverdi in forum Submit a DHTML or CSS code
    Replies: 3
    Last Post: 07-02-2008, 06:10 AM
  3. Fade to black and more..
    By fabiospark in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 11-25-2007, 01:32 PM
  4. Okay, I got black box.. now what?
    By BLiZZaRD in forum Other
    Replies: 6
    Last Post: 01-25-2007, 02:23 PM
  5. Replies: 1
    Last Post: 09-09-2005, 11:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •