Options

[Implemented] CSS Flow Down

AllenAllen Registered Users Posts: 10,011 Major grins
edited November 11, 2014 in SmugMug Feature Requests
This is a huge problem for many not being able to flow down CSS changes. It requires changes to be
added separately for every sub-folder and every gallery. Example: different banners for a section like
family, wedding ...

If you look at the body classes of NewSmug and Legacy you'll notice how legacy flowed down so you
could use CSS to specify changes at any level and it would flow down. Look at the body classes for
NewSmug, no classes to allow flow down. A gallery or sub-folder has no idea what it's a child of.
NewSmug
top folder
<body class="sm-user-pro sm-user-loggedin sm-user-owner sm-page sm-page-node [COLOR=Red]sm-page-node-Qm7v4[/COLOR]">
sub folder - top folder
<body class="sm-user-pro sm-user-loggedin sm-user-owner sm-page sm-page-node [COLOR=Red]sm-page-node-hwXDg[/COLOR]">
gallery - in sub folder - top folder
<body class="sm-user-pro sm-user-loggedin sm-user-owner sm-page [COLOR=Red][COLOR=White]sm-page-node[/COLOR] sm-page-node-DckpN[/COLOR] sm-page-gallery sm-page-gallery-album">

Legacy
category
<body class="tempClass category[COLOR=Red] category_Birds[/COLOR] loggedIn bodyColor_White smugmug-pro">
sub-cat in category
<body class="tempClass category [COLOR=Red]category_Birds [/COLOR]subcategory [COLOR=Red]subcategory_Birding_2013_August[/COLOR] loggedIn bodyColor_White smugmug-pro">
gallery in sub-cat in category
<body class="smugmug smugmug_ajax galleryPage [COLOR=Red]gallery_30889676[/COLOR] tempClass [COLOR=Red]category_Birds subcategory_Birding_2013_August[/COLOR] loggedIn bodyColor_White smugmug-pro">
Al - Just a volunteer here having fun
My Website index | My Blog
«1

Comments

  • Options
    DBRDBR Registered Users Posts: 145 Major grins
    edited August 22, 2013
    Agreed. Everything should flow down.
  • Options
    guyguy Registered Users Posts: 191 Major grins
    edited August 22, 2013
    Allen wrote: »
    This is a huge problem for many not being able to flow down CSS changes. It requires changes to be
    added separately for every sub-folder and every gallery. Example: different banners for a section like
    family, wedding ...

    If you look at the body classes of NewSmug and Legacy you'll notice how legacy flowed down so you
    could use CSS to specify changes at any level and it would flow down. Look at the body classes for
    NewSmug, no classes to allow flow down. A gallery or sub-folder has no idea what it's a child of.
    NewSmug
    top folder
    <body class="sm-user-pro sm-user-loggedin sm-user-owner sm-page sm-page-node [COLOR=Red]sm-page-node-Qm7v4[/COLOR]">
    sub folder - top folder
    <body class="sm-user-pro sm-user-loggedin sm-user-owner sm-page sm-page-node [COLOR=Red]sm-page-node-hwXDg[/COLOR]">
    gallery - in sub folder - top folder
    <body class="sm-user-pro sm-user-loggedin sm-user-owner sm-page [COLOR=Red][COLOR=White]sm-page-node[/COLOR] sm-page-node-DckpN[/COLOR] sm-page-gallery sm-page-gallery-album">
    
    Legacy
    category
    <body class="tempClass category[COLOR=Red] category_Birds[/COLOR] loggedIn bodyColor_White smugmug-pro">
    sub-cat in category
    <body class="tempClass category [COLOR=Red]category_Birds [/COLOR]subcategory [COLOR=Red]subcategory_Birding_2013_August[/COLOR] loggedIn bodyColor_White smugmug-pro">
    gallery in sub-cat in category
    <body class="smugmug smugmug_ajax galleryPage [COLOR=Red]gallery_30889676[/COLOR] tempClass [COLOR=Red]category_Birds subcategory_Birding_2013_August[/COLOR] loggedIn bodyColor_White smugmug-pro">
    

    +1
    This is only logical but I have yet to see a post where SM even acknowledges that this is something that we had before & don't have now or that they are even concerned about fixing it!
  • Options
    kimbomackimbomac Registered Users Posts: 99 Big grins
    edited August 25, 2013
    I would +1 this!

    And it would be great if the flow-downs only occurred with items that have been overridden for that folder.

    i.e., if I change something in the menu or banner, for a folder, and all it's sub-folders, pages and galleries, then I only want to change the banner. The rest of the page items (styles, backgrounds, themes, etc. should still inherit from the whole site, so that if I want to change all that, I can do so without having to go find all individually customised galleries. But the individual customisation items should remain...
    Kimbomac

    (FeaturePhotography.net)
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited September 11, 2013
    bump
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited September 16, 2013
    This is one of the most basic concepts of customizing, "Add the class names of parents to each
    child so flow down can be addressed with CSS." Not having this available, it's getting very obvious
    that Smugmug does not care about us fully customizing our sites and forcing us to use their boiler
    plate. In the past when we needed classes added to pages they quickly accommodated.

    The most common usage for this is different banners/logos on areas of the site like family, weddings, etc.
    I've helped 1000's of folks applying this in the past eight years.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited September 17, 2013
    Allen wrote: »
    This is one of the most basic concepts of customizing, "Add the class names of parents to each
    child so flow down can be addressed with CSS." Not having this available, it's getting very obvious
    that Smugmug does not care about us fully customizing our sites and forcing us to use their boiler
    plate. In the past when we needed classes added to pages they quickly accommodated.

    The most common usage for this is different banners/logos on areas of the site like family, weddings, etc.
    I've helped 1000's of folks applying this in the past eight years.

    Hi Allen,

    This is in the product team's hands, but I do not have an update. I will keep you updated when I have any information.

    Thanks!
  • Options
    wsimpsonwsimpson Registered Users Posts: 8 Beginner grinner
    edited September 17, 2013
    I am one that needs this restored. I have hundreds of custom tours where the sub-category holds a "banner" that carries through to each gallery below. It does not work with the new SM. Please RESTORE THIS CRITCAL FEATURE!!!
    Walt
  • Options
    guyguy Registered Users Posts: 191 Major grins
    edited September 17, 2013
    wsimpson wrote: »
    I am one that needs this restored. I have hundreds of custom tours where the sub-category holds a "banner" that carries through to each gallery below. It does not work with the new SM. Please RESTORE THIS CRITCAL FEATURE!!!
    Walt

    +1 Me too
  • Options
    mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited September 17, 2013
    Thanks for the input guys. This is in the developers hands and I will keep you posted with updates as they become available.
  • Options
    TalkieTTalkieT Registered Users Posts: 491 Major grins
    edited October 1, 2013
    Please add this back. This is functionality I rely on today in the original SM...

    Cheers - N
    --
    http://www.nzsnaps.com (talkiet.smugmug.com)
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited October 18, 2013
    bump
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    TalkieTTalkieT Registered Users Posts: 491 Major grins
    edited November 12, 2013
    Nearly 2 months since the last update that there was no progress - any progress now?

    Cheers - N
    --
    http://www.nzsnaps.com (talkiet.smugmug.com)
  • Options
    FritzFritz Registered Users Posts: 36 Big grins
    edited November 23, 2013
  • Options
    TalkieTTalkieT Registered Users Posts: 491 Major grins
    edited November 26, 2013
    ANother 2 weeks since I last asked - is there even acceptance that this is being looked at?

    N
    --
    http://www.nzsnaps.com (talkiet.smugmug.com)
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 11, 2013
    We really need this set as a high priority.
    Example, changing the logo for individual galleries and folders to flow down.
    I have 91 sub-folders and 890 galleries in this top folder.
    The only way now to change the logo is one by one or add CSS like this.
    Here's 17 done with only a lot lot lot more to go.
    .sm-page-node-2GxbX .sm-page-widget-logo-img,  /* 2013-12-02 */
    .sm-page-node-R8qVd .sm-page-widget-logo-img,  /* 2013-12 yard */
    .sm-page-node-4jbqc .sm-page-widget-logo-img,  /* 2013-06-24 */
    .sm-page-node-ctRcC .sm-page-widget-logo-img,  /* 2013-06-08 */
    .sm-page-node-hT58X .sm-page-widget-logo-img,  /* 2013-05 yard */
    .sm-page-node-PWxWK .sm-page-widget-logo-img,  /* 2013-05-01 */
    .sm-page-node-xkjZx .sm-page-widget-logo-img,  /* 2013-05-03 */
    .sm-page-node-qB2ts .sm-page-widget-logo-img,  /* 2013-05-03/4 */
    .sm-page-node-Kq8g6 .sm-page-widget-logo-img,  /* 2013-05-05 SC */
    .sm-page-node-9qkXq .sm-page-widget-logo-img,  /* 2013-05-06 SC */
    .sm-page-node-XJtbP .sm-page-widget-logo-img,  /* 2013-05-06 */
    .sm-page-node-XJtbP .sm-page-widget-logo-img,  /* 2013-05-06 */
    .sm-page-node-Md9v8 .sm-page-widget-logo-img,  /* 2013-05-10 */
    .sm-page-node-HS3fd .sm-page-widget-logo-img,  /* 2013-05-14 */
    .sm-page-node-zH29r .sm-page-widget-logo-img,  /* 2013-05-18 */
    .sm-page-node-pszt7 .sm-page-widget-logo-img,  /* 2013-05-20/23 */
    .sm-page-node-sgrbS .sm-page-widget-logo-img { /* 2013-05-28 */
      background-image: url(/photos/i-3M6v3Q4/0/X3/i-3M6v3Q4-X3.jpg) !important;
    ...
    ...
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    guyguy Registered Users Posts: 191 Major grins
    edited December 11, 2013
    Allen wrote: »
    We really need this set as a high priority.
    Example, changing the logo for individual galleries and folders to flow down.
    I have 91 sub-folders and 890 galleries in this top folder.
    The only way now to change the logo is one by one or add CSS like this.

    Agreed, this has been one of the most frustrating things in rebuilding my site the way I would like it to look.
  • Options
    wsimpsonwsimpson Registered Users Posts: 8 Beginner grinner
    edited December 20, 2013
    Agreed! Please SM, let's get thi fixed!
    Walt
  • Options
    kimbomackimbomac Registered Users Posts: 99 Big grins
    edited December 24, 2013
    Is there any news as to whether this is likely to come?
    Kimbomac

    (FeaturePhotography.net)
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited January 23, 2014
    bump
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    e**e** Registered Users Posts: 21 Big grins
    edited February 2, 2014
    I'm just starting to customize my site with the new SM and I find this lack of flow-through with the CSS to be *extremely* frustrating. Let's get this fixed!
    -- Eric

    ERIC SCOTT PHOTOGRAPHY
    commercial and architectural imagery
    www.ericscottphotography.com
  • Options
    stubblestubble Registered Users Posts: 17 Big grins
    edited February 9, 2014
    I have the same need (http://www.dgrin.com/showthread.php?p=1940015).

    I'd be great if gallery keywords were tagged in the body classes so I could use them for CSS rules.
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited February 10, 2014
    Bump
    I have 911 galleries under one category and you're forcing me to write an individual CSS rule for every one
    of those galleries. Post #17 above was a start for the CSS.

    How much text will a CSS box hold? Will I hit a limit like the old legacy boxes did?
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    DanCarl97DanCarl97 Registered Users Posts: 139 Major grins
    edited February 10, 2014
    +1

    I've rarely come across this but this really should be fixed. In some cases, it can make coding changes very difficult.
  • Options
    mylifeinfocusmylifeinfocus Registered Users Posts: 208 Major grins
    edited February 10, 2014
    +1 for me too. I'm glad to see this thread as I've been pretty frustrated with doing individual CSS for each of my galleries (even though I have them all using the same theme, etc.). I hope the SM developers are working on this. Especially since I thought one of the big selling points of the New Smugmug (vs. Legacy) was to enable us to make changes and tweaks to our sites much easier without always having to dig around in the code.
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited February 19, 2014
    bump > Smugmug > what's the status on this?

    Example of CSS in work changing banner on one section of my site approx a thousand pages. This CSS block below will add new banners. I have an identical CSS block for removal of site wide banner. Exact same code except for widget number change 5027770 > 5028039.

    All this would not be needed if the classes flowed down to children.

    Crap, it won't even show in this forum and I'm only partially done. Had to delete much of it.
    The text that you have entered is too long (53463 characters). Please shorten it to 20000 characters long.
    /*  **** folders *****/
    .sm-page-node-fj9cT .sm-page-widget-5027770,   /* 2005-birding */
    
    .sm-page-node-N326b .sm-page-widget-5027770,   /* 2006-birding */
    .sm-page-node-6hsZT .sm-page-widget-5027770,   /* 2006-01>02 */
    .sm-page-node-qKPV2 .sm-page-widget-5027770,   /* 2006-03 */
    ....
    .sm-page-node-wdmLg .sm-page-widget-5027770,   /* 2014-11 */
    .sm-page-node-pCPdb .sm-page-widget-5027770,    /* 2014-12 */
    
    
    
    
    
        /*  **** galleries *****/
    .sm-page-node-qfchQ .sm-page-widget-5027770,  /* 2005-09-10 */
    .sm-page-node-nSPnH .sm-page-widget-5027770,  /* 2005-10-08 */
    .sm-page-node-QJvnx .sm-page-widget-5027770,  /* 2005-10-15 */
    .sm-page-node-Twv88 .sm-page-widget-5027770,  /* 2005-10-22 */
    .sm-page-node-6s8xH .sm-page-widget-5027770,  /* 2005-10-29 */
    .sm-page-node-MbRfL .sm-page-widget-5027770,  /* 2005-11-19 */
    ...
    ...
    .sm-page-node-CwKvW .sm-page-widget-5027770,  /* 2014-01-14 */
    .sm-page-node-sPQ2z .sm-page-widget-5027770,  /* 2014-01-26 */
    .sm-page-node-TDRRD .sm-page-widget-5027770,  /* 2014-01-29 */
    
    .sm-page-node-HKM2H .sm-page-widget-5027770,  /* 2014-02-02 */
    .sm-page-node-qq5GF .sm-page-widget-5027770,  /* 2014-02-03 */
    ...
    .sm-page-node-xLps2 .sm-page-widget-5027770, /* Search */
    .sm-page-node-6dSMX .sm-page-widget-5027770, /* Site Index */
    .sm-page-node-vnM8Q .sm-page-widget-5027770, /* Japan Birds */
    .sm-page-node-XmMR8 .sm-page-widget-5027770, /* I've Been Spotted */
    .sm-page-node-gF9bt .sm-page-widget-5027770, /* Bird Videos */
    .sm-page-node-TsGxp .sm-page-widget-5027770, /* Warblers 2007 & Older */
    .sm-page-node-PdZ4n .sm-page-widget-5027770, /* Warblers 2008-2009 */
    .sm-page-node-6zCtw .sm-page-widget-5027770, /* Warblers (2010-2011) */
    .sm-page-node-S4Nnv .sm-page-widget-5027770, /* Warblers 2012 and Newer */
    .sm-page-node-FXrBL .sm-page-widget-5027770, /* birding field trips */
    .sm-page-node-CjDm7 .sm-page-widget-5027770, /* A - G */
    .sm-page-node-NJNt4 .sm-page-widget-5027770, /* H - Z */
    .sm-page-node-J6gc5 .sm-page-widget-5027770, /* MyKeywords */
    .sm-page-node-NLdDz .sm-page-widget-5027770, /* Least Tern Project */
    .sm-page-node-HR9DP .sm-page-widget-5027770, /* 2009 Least Tern */
    .sm-page-node-Tqd2c .sm-page-widget-5027770, /* 2010 Least Tern */
    .sm-page-node-LHMqL .sm-page-widget-5027770, /* 2011 Least Tern */
    .sm-page-node-JPkFz .sm-page-widget-5027770, /* 2012 Least Tern */
    .sm-page-node-7QG35 .sm-page-widget-5027770, /* Least Tern FAQ */
    .sm-page-node-23XzQ .sm-page-widget-5027770, /* Weston Bend SP */
    .sm-page-node-QnrLP .sm-page-widget-5027770, /* World Bird Sanc */
    .sm-page-node-Z6p7T .sm-page-widget-5027770, /* World Bird S 2008 */
    .sm-page-node-4WVs6 .sm-page-widget-5027770, /* World Bird S 2007 */
    .sm-page-node-rDBS7 .sm-page-widget-5027770, /* World Bird S 2005 */
    .sm-page-node-6H6bb .sm-page-widget-5027770, /* World Bird S 2004 */
    .sm-page-node-3t5Hr .sm-page-widget-5027770, /* Bird Maps */
    .sm-page-node-Qm7v4 .sm-page-widget-5027770, /* Birds */
    .sm-page-node-J7sdG .sm-page-widget-5027770  /* KW pages */
    
      { display:block;}
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited February 20, 2014
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited March 1, 2014
    I've now added over a 120,000 characters to my CSS for the simplest of things like changing a banner
    in a category. The same thing could be accomplished with less then 200 characters in CSS if
    we had flow down.

    Just got latest exact count. (Dgrin error message in reply)
    The text that you have entered is too long (126987 characters). Please shorten it to 20000 characters long.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited April 25, 2014
    bump
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    stubblestubble Registered Users Posts: 17 Big grins
    edited April 30, 2014
    Hoping to see this. It's a big PITA without it.
Sign In or Register to comment.