Thread: Zen Colorbox

Page 26 of 34 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 337
  1. #251
    Join Date
    Jun 2012
    Location
    Michigan, USA
    Posts
    2
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    It DID resolve the issue in a desired way. The resize is a little funky when resizing after the initial view, but I can live with it. Thanks.

  2. #252
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,586
    Plugin Contributions
    30

    Default Re: Zen Colorbox

    I often use language-specific images in the product descriptions, so use a lightbox on those too.

    Some stuff that would have been helpful to me in the readme:

    To use a lightbox on images embedded in the product description, they need rel="colorbox" in the <a link.

    To restrict groups of images to a lightbox: eg. if there are ten images in a description and 4 refer to one thing, 6 to another.
    use rel="colorboxWhateverSuffixYouLike" and rel="colorboxWhateverSuffixYouLikeMore" on the image <a links and that will put the first 4 images in a lightbox captioned 1 to 4 and the rest 1 to 6.

    For a text caption/title to show in the lightbox, title="text" must be in the <a link too: it will not pick up the title from the inner <img tag, as you may expect.

    To change the borders (colour/width) of the lightbox, you have to edit the image: ...includes\templates\YOUR_TEMPLATE\images\zen_colorbox\controls.png
    and then change css background width and position for 9 divs (<div id="cboxTopLeft" etc) to get the correct bit from the image. Not easy.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  3. #253
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    red flag Re: Zen Colorbox

    Colorbox is interfering with mobile menu style. NEED HELP ASAP PLEASE!!! My current cart I am replacing went out of business so I can't make changes.

    I have narrowed it down to the Colorbox. I can turn it off in admin and I don't have this issue. when using the mobile version as soon as I get to the product info page, my menu looses the css style and just shows a bunch of links.

    I have 1.5.5f and 2.1.2 colorbox installed. I also have mega menu installed and use this code below to hide it in responsive.css and responsive_mobile.css so it blocks mega menu in mobile. Should I use this elsewhere or something different?

    @media (min-width:0px) and (max-width:480px){ #mega-wrapper { display:none;visibility:hidden; }

    Here is my site:
    https://www.uesakausa.com

    Here is where the colorbox is blocking the style.

    https://www.uesakausa.com/index.php?...19ga23f74m0t01

    I can not figure out what is happening on this page and why colorbox is blocking the styles. Need to get this Zen Cart up and running so I can move it to the main server and replace the site before it crashes. Thanking you in advance!

  4. #254
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    red flag Re: Zen Colorbox is blocking my style on product info page

    Colorbox is interfering with mobile menu style. NEED HELP ASAP PLEASE!!! My current cart I am replacing went out of business so I can't make changes.

    I have narrowed it down to the Colorbox. I can turn it off in admin and I don't have this issue. when using the mobile version as soon as I get to the product info page, my menu looses the css style and just shows a bunch of links.

    I have 1.5.5f and 2.1.2 colorbox installed. I also have mega menu installed and use this code below to hide it in responsive.css and responsive_mobile.css so it blocks mega menu in mobile. Should I use this elsewhere or something different?

    @media (min-width:0px) and (max-width:480px){ #mega-wrapper { display:none;visibility:hidden; }

    Here is my site:
    https://www.uesakausa.com

    Here is where the colorbox is blocking the style.

    https://www.uesakausa.com/index.php?...19ga23f74m0t01

    I can not figure out what is happening on this page and why colorbox is blocking the styles. Need to get this Zen Cart up and running so I can move it to the main server and replace the site before it crashes. Thanking you in advance!

  5. #255
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Zen Colorbox is blocking my style on product info page

    Well, note that the use of CSS doesn't prevent the code of the mega menu from being provided to the viewer, the view is just then modified in this case to not display a section of the page. But, it is also important to first ensure that only that section is to be affected and that the page validates. For example, when I ran the page through an HTML validator, there are two errors associated with the html code, one of which is in the middle of what is identified as the megamenu-wrapper. The other is similar but before the wrapper.

    Also, I loaded the page with my mobile device in both desktop and mobile mode and did receive two different results. There are ways to use php to simply not output the mega-menu code as can be seen/provided in includes/templates/responsive_classic/common/html_header.php.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #256
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Zen Colorbox is blocking my style on product info page

    Why is it that when I turn off colorbox the mobile menu works? Doesn't that point to colorbox being my issue on there?


    I will have to research more on the header, I am not experienced enough to make those changes now. But will dig into that after I get the main issue solved. Do you have any direction for me on that?

  7. #257
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Zen Colorbox is blocking my style on product info page

    Quote Originally Posted by MaxBodine View Post
    Why is it that when I turn off colorbox the mobile menu works? Doesn't that point to colorbox being my issue on there?


    I will have to research more on the header, I am not experienced enough to make those changes now. But will dig into that after I get the main issue solved. Do you have any direction for me on that?
    As colorbox uses javascript, a page that does not validate could respond erratically. When I used an online html validation tool for the above provided product page, there was an area that had the text 'cart.</p> </p>'. The second paragraph closure appears to not have an equivalent opener.

    Additionally, I haven't been able (yet) to use a real computer to evaluate the load process to see if there may be a javascript error occurring, but considering that the goal and effect is to hide a portion of the screen, the existing html validation issues appear to relate.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #258
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Zen Colorbox

    I did take your advise and ran it through a validator. I found the same errors in the mega menu. I am now working on cleaning that up now. I will post back what the out come is for others as well. Thank you for the quick responses! Love the colorbox!

  9. #259
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Zen Colorbox

    Quote Originally Posted by MaxBodine View Post
    I did take your advise and ran it through a validator. I found the same errors in the mega menu. I am now working on cleaning that up now. I will post back what the out come is for others as well. Thank you for the quick responses! Love the colorbox!
    Not sure what is going on, but when I try to access the following URI https://www.uesakausa.com/index.php?main_page=product_info&cPath=23&products_id=26&layoutType=mobile (accesses the site using the mobile type layout) and review the console log, I see that there is a javascript error:
    SCRIPT70: Permission denied
    jscript_jquery-1.7.1.min.js (2,3291)
    HTML1300: Navigation occurred.
    index.php
    HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: "<!DOCTYPE html>".
    index.php (1,1)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #260
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Zen Colorbox

    Quote Originally Posted by mc12345678 View Post
    Not sure what is going on, but when I try to access the following URI https://www.uesakausa.com/index.php?main_page=product_info&cPath=23&products_id=26&layoutType=mobile (accesses the site using the mobile type layout) and review the console log, I see that there is a javascript error:
    Also, though I didn't copy the link over, the javascript file is attempting to be found specifically on the site, not by reference to an external location. But, that said, I can click on the javascript link that is provided to me in the console and actually pull up the file. At the moment, I'm not sure why the difference in response with respect to that, but wanted to let you know what has been seen from a different perspective.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 26 of 34 FirstFirst ... 162425262728 ... LastLast

Similar Threads

  1. v155 Attribute image swapped for main image using Colorbox
    By soxophoneplayer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jun 2016, 02:34 PM
  2. Trying to fix inline code with colorbox...
    By toomanyknots in forum General Questions
    Replies: 2
    Last Post: 5 Apr 2015, 04:26 PM
  3. IH and Zen Colorbox vs Zen Lightbox?
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 28 Jan 2015, 02:29 AM
  4. Lightbox OR Colorbox
    By Rizla in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 2 May 2014, 11:55 AM
  5. LightBox, SlimBox, ColorBox, which one is better?
    By waterbender in forum General Questions
    Replies: 0
    Last Post: 13 Aug 2013, 07:32 PM

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