Announcement

Collapse
No announcement yet.

no styles for cart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    no styles for cart

    I am in the process of creating a site, i have uploaded the site to my server and tried to test it but when i go to view cart, add to cart ect there are no images and no style on the page, all other pages seem to be fine.

    also i have an erorr on the page when viewed in IE that says there are erorrs on lines 3 and 7 which are the head tags

    if anyone can shed any light on either of these issues then please let me know
    thanks

    http://www.sportsfencingequipment.co.uk/display/

    #2
    The reason for it is that the checkout pages are linking to the style sheet as if it is in the same directory when infact it is not (its in yoursite.tld/display/acatalog ) - I can only assume you have deleted somthing from the layout or that because you have an extra directory in your URL.

    Try adding the following line of code to your layout immediatly after the </title> tag

    <BASE HREF="http://www.sportsfencingequipment.co.uk/display/acatalog/">

    Comment


      #3
      cheers thanks for that it seems to work, even thought the home page now has no style and the links do not work.

      How would this work when i put it live outside of the display folder would i just remove the /display/ from the url. if this is the only way it works then i would have to make the acatalog page the homepage.

      Comment


        #4
        Ashley

        You need to go into the 'Design' tab, and select your overall page layout in the interactive preview. Then you need to go down to the 'Layout Code' pane at the bottom and find the <head> area. Just under the <title> tag, add in a new blank line.

        Put your cursor in this new blank line and then go to the 'insert layout' button (pink circle with a '+'). Select 'BaseHref' from the top list and click 'Insert'.

        Then Apply your changes and upload your site. This should fix the problem.

        Comment


          #5
          cheers thanks for that

          Comment


            #6
            Genius!!

            Just spent the last 3 hours trying to resolve the same problem when I came across this post - I dont know why it works and I dont care, but thank you!!

            Dan

            Comment


              #7
              Blimey! This one really passed me by... Stick this one prominently in the User Guide methinks.

              Comment

              Working...
              X