anyone any suggestios why my site loads in this manner?

Discussion in 'WordPress' started by confusedone, Jan 22, 2011.

  1. #1
    www.widnestown.co.uk

    when it loads up it comes up in blocks, not sure what it is called, but if anyone takes the time to look at it it will be obvious, go to any of the pages and the content loads up, as if waiting for an image then the content jumps up to the top of the screen.
    it is the constructor theme in wordpress

    Any suggestions?

    Many thanks

    Alan
     
    confusedone, Jan 22, 2011 IP
  2. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yep. You have a slideshow DIV at the top of the page which starts with the following code:

    <div style="height: 200px; width: 834px; display: none;" id="slideshow">
    Code (markup):
    It sets the box for 200x834 pixels which the browser allows for, then somewhere along the line a jQuery script sets the display to "none" which effectively hides it and everything slides up into its place.

    If you are not using the slideshow, you could probably comment out that part of the code in your template files (I say "comment out" so you can use it again later if you decide to.) The other option is use the slideshow for its intended purpose, and thereby filling that space.

    Not sure why it is coded to display the code, then hide it. Probably could ask the theme developer to look into it. It would be considered a bug to them.
     
    Dodger, Jan 22, 2011 IP
  3. confusedone

    confusedone Active Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #3
    Anyone any idea where it is actually is in the template? I know html and css a bit but still learning. Im guessing it wont be in the css file in the editor? ive looked at the header and the main template? Have i missed it probably? anyone any idea where the code would be?

    Many thanks for any help

    Alan
     
    confusedone, Jan 29, 2011 IP
  4. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You missed it. I found one occurance in layouts/page.php

    Just comment out the slideshow if you are not going to be using it.

        <?php // get_constructor_slideshow(true) ?>
    
    Code (markup):
    The actual slideshow code is in libs/Constructor/Main.php
     
    Dodger, Jan 29, 2011 IP
  5. confusedone

    confusedone Active Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #5
    many thanks, i shall look at it right now!
     
    confusedone, Jan 29, 2011 IP
  6. confusedone

    confusedone Active Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #6
    Ok sorry for this but i still cant find it. You say it is in main.php? cant seem to find that, in constructor it does have a slideshow.php but commenting that out is producing, well, bad results. Looked for that bit of code you said to comment out, but struggling to find it!!

    Little problem but causing me quite a headache

    Many thanks again

    Alan
     
    confusedone, Feb 6, 2011 IP
  7. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Its in a subdirectory of your theme directory. Go to the "lib" directory, then to the "Constructor" directory and in there is a file named Main.php.
     
    Dodger, Feb 6, 2011 IP
  8. confusedone

    confusedone Active Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #8
    thanks (once again!!), im in the editor section of the constructor theme, looking down the right there are such things such as 404.php, comments.php etc but cant find one named main.php...
    there is a mian index - index.php, but cant find main.php - should i actually be looking in the editor?
     
    confusedone, Feb 6, 2011 IP
  9. confusedone

    confusedone Active Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #9
    or rather how do i access my directory?? via the editor option?
     
    confusedone, Feb 6, 2011 IP
  10. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I never use the backend editor in WordPress. Never.

    I actually run a server on my local machine with the theme installed. Make all changes in Notepad++, test and view, and everything is okay then I FTP the changed file up onto the live server.

    There are two other ways to change files directly on the server. I do not recommend live editing though. One is go into your hosting account, you should have a File Manager utility. You will be able to navigate your directories in this utility. Find the file in question, and you should be able to edit the file right there.

    Another tool that I use for live editing from the desktop is Html-Kit. This is a Windows program that allows you to open files on a web host, edit them, and save. I use it for quick emergency fixes when they arise. This is also my old Html editor, and I still keep it around. I highly recommend it for new Html coders and for the FTP editing.
     
    Dodger, Feb 7, 2011 IP
  11. confusedone

    confusedone Active Member

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #11
    Hi, tried to add to your rep here, but it isnt letting me. So anyway thought id write a quick thanks for your help here

    Kind regards

    Alan
     
    confusedone, Feb 8, 2011 IP
  12. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #12
    You are welcome. And don't sweat the rep. Maybe later down the road you will be able to. Good luck!
     
    Dodger, Feb 8, 2011 IP