Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2012
    Location
    St. Catharines, ON Canada
    Posts
    91
    Plugin Contributions
    0

    Default Blank box at top of mobile and tablet

    I’m back to using the responsive template but that also returned the blank square box between the search bar and title bars.
    If I hold my finger on it, it shows the http path to my site and gives me options to open in a new window and other options.
    Please see attached.
    What file controls that as I don’t seem to have that issue on my desktop.
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,103
    Plugin Contributions
    11

    Default Re: Blank box at top of mobile and tablet

    You have incorrectly edited the file containing the name of the logo.gif. The browser is trying to leave room for the HEADER_LOGO_IMAGE but is not getting the correct define. That's why a look at the inspect for your main page shows the image source for the logo to be
    Code:
    <img src="includes/templates/template_default/images/HEADER_LOGO_IMAGE" alt="" width="500px" height="12px">
    As the mobile version cannot see an image, it makes sure to leave room if a logo.gif ever shows up. Thus the blank box.

  3. #3
    Join Date
    Oct 2012
    Location
    St. Catharines, ON Canada
    Posts
    91
    Plugin Contributions
    0

    Default Re: Blank box at top of mobile and tablet

    Quote Originally Posted by dbltoe View Post
    You have incorrectly edited the file containing the name of the logo.gif. The browser is trying to leave room for the HEADER_LOGO_IMAGE but is not getting the correct define. That's why a look at the inspect for your main page shows the image source for the logo to be
    Code:
    <img src="includes/templates/template_default/images/HEADER_LOGO_IMAGE" alt="" width="500px" height="12px">
    As the mobile version cannot see an image, it makes sure to leave room if a logo.gif ever shows up. Thus the blank box.
    What’s the name of that file again plz?
    Can I “comment” that line by adding “//“ in front until I figure out what picture I’m going to use, if any?

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,103
    Plugin Contributions
    11

    Default Re: Blank box at top of mobile and tablet

    Using the Admin >> Tools >> Developers Tool Kit you can

    • scroll to the bottom
    • In the block labeled "Enter search phrase or pattern", type HEADER_LOGO_IMAGE
    • Click on search and concern yourself ONLY with the files that have a listing of define('HEADER.......


    You'll find that one of the files has the define listed on two lines (27 and 32). That is incorrect. Someone has added at least two lines to that file. It should stop at 30.

    Since many pieces of the header are not showing, I'd venture a guess that the file is pretty messed up. I'd start by replacing the file with one from the original 1.5.5f. AND, there should be a folder under includes/lnaguages/english/ called responsive_classic with files in it. (probably why you have mobile/tablet heading on a desktop.)

    https://www.zen-cart.com/content.php...ion-a-new-logo

    I believe it might be best to thoroughly investigate situations before jumping on your horse and riding madly off in all directions.

    To boldly go where no man has gone before might be nice for Kirk and the Enterprise, but they had absolute control of the replicators.

  5. #5
    Join Date
    Jul 2018
    Location
    Lepia
    Posts
    13
    Plugin Contributions
    0

    Default Re: Blank box at top of mobile and tablet

    Quote Originally Posted by rensing View Post
    I’m back to using the responsive template but that also returned the blank square box between the search bar and title bars.
    If I hold my finger on it, it shows the http path to my site and gives me options to open in a new window and other options.
    Please see attached.
    What file controls that as I don’t seem to have that issue on my desktop.
    I do not know why but it is a common problem on safari ...

  6. #6
    Join Date
    Oct 2012
    Location
    St. Catharines, ON Canada
    Posts
    91
    Plugin Contributions
    0

    Default Re: Blank box at top of mobile and tablet

    Quote Originally Posted by altruso View Post
    I do not know why but it is a common problem on safari ...
    I’m using Google and it does it there also.
    I’m going to look for the header file like dbltoe suggested.
    Thanks

 

 

Similar Threads

  1. v155 Twitch Additional Product Images Admin for Mobile/Tablet/Desktop Upload
    By twitchtoo in forum Customization from the Admin
    Replies: 5
    Last Post: 23 Feb 2018, 03:37 AM
  2. v151 Issues with iPad and other tablet device
    By Marco Serge in forum General Questions
    Replies: 1
    Last Post: 14 Jan 2015, 03:10 PM
  3. White space between Header Logo and Top of Side Box
    By xman888 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jan 2008, 08:43 AM
  4. Category box list only top and 2nd level
    By theng6987 in forum Basic Configuration
    Replies: 1
    Last Post: 7 Dec 2007, 08:25 AM
  5. howto show always Top and Subcategories in the category box?
    By wflohr in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 May 2006, 06:06 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR