Hiding image in Footer triggers disappearance of widgets in Body
photoclick
Registered Users Posts: 278 Major grins
Hello Smugmug employee or Aaron,
I think I found a bug that, unfortunately, cripples one of my sites. Imagine you have a Single Image block in the (Entire Site) Footer section. Then imagine you have a page with some content blocks. Now add CSS block on that page and add a code that simply hides that Single Image Block in the Footer section.
The css works. It hides the image in the footer. Unfortunately, along with the image in the footer the Menu and Image content blocks on the PAGE will disappear as well. Why????
Here is the test site: https://mvs.smugmug.com/ PM me for the password if you need to test it. This is a clean test site with no other code.
Thank you very much.
I think I found a bug that, unfortunately, cripples one of my sites. Imagine you have a Single Image block in the (Entire Site) Footer section. Then imagine you have a page with some content blocks. Now add CSS block on that page and add a code that simply hides that Single Image Block in the Footer section.
The css works. It hides the image in the footer. Unfortunately, along with the image in the footer the Menu and Image content blocks on the PAGE will disappear as well. Why????
Here is the test site: https://mvs.smugmug.com/ PM me for the password if you need to test it. This is a clean test site with no other code.
Thank you very much.
0
Comments
.sm-page-widget-XXXXXXX
<div id="sm-page-widget-QRxkSNTh" class="sm-page-widget
sm-page-widget-html sm-page-widget-13597242" data-typeid="13597242">
Also the specific page class name found in the <body>. .sm-page-node-XXXXXXX
.sm-page-node-nd6CmZ .sm-page-widget-13597242 {display:none}
My Website index | My Blog
tailoredportraits.com
My Website index | My Blog
.sm-page-node-dZsdrx .sm-page-widget-13606680 {display:none}
You can put it in "entire site" CSS because it has the specific page in the rule.
or
If it's a Page, it is already set to "Just This Page" and that will be highlighted in right flyout.
You should find a CSS widget that says that in it's title bar.
In that CSS widget you don't need the .sm-page-node-dZsdrx.
My Website index | My Blog
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
It appears this is caused by the Single Photo CB. I did a quick test on the following scenarios:
- Remove Multiple Photo - Just this Page: works as it should, only that CB is removed.
- Remove Single Photo - Just this Page: Other blocks on page, and entire site blocks remain, but Multiple Photo block, and Single Photo block on Just this Page are removed. Error "TypeError: _ is undefined" appears in console.
- Remove Multiple Photo - Entire Site: works as it should, only that CB is removed.
- Remove Single Photo - Entire Site: Entire page is blank, only Multiple Photo - Entire Site remains. Error "TypeError: _ is undefined" appears in the console.
I replicated this in a new testing scenario and I've filed the bug to be triaged.
Getting started on DGrin? Go here first!
Contact a Support Hero: http://help.smugmug.com/customer/portal/emails/new
mike
tailoredportraits.com
tailoredportraits.com
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
tailoredportraits.com
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
tailoredportraits.com