Can we change Community Template Background dynamically?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
3
down vote

favorite












I am trying to achieve Account specific branding in Communities. So every user belonging to one account sees a specific background. Preferably, the background-image needs to be related to the account record.



I tried using the Edit CSS option in the community Theme settings. Below option:
enter image description here



The backgroud css can be applied here, but it can be only one static image URL. Like, I have uploaded the image in documents and made it externally available. The background image is reflected.



I want this to be dynamic, which I am not able to achieve. Is this possible? Or any suggested workarounds?










share|improve this question



























    up vote
    3
    down vote

    favorite












    I am trying to achieve Account specific branding in Communities. So every user belonging to one account sees a specific background. Preferably, the background-image needs to be related to the account record.



    I tried using the Edit CSS option in the community Theme settings. Below option:
    enter image description here



    The backgroud css can be applied here, but it can be only one static image URL. Like, I have uploaded the image in documents and made it externally available. The background image is reflected.



    I want this to be dynamic, which I am not able to achieve. Is this possible? Or any suggested workarounds?










    share|improve this question























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I am trying to achieve Account specific branding in Communities. So every user belonging to one account sees a specific background. Preferably, the background-image needs to be related to the account record.



      I tried using the Edit CSS option in the community Theme settings. Below option:
      enter image description here



      The backgroud css can be applied here, but it can be only one static image URL. Like, I have uploaded the image in documents and made it externally available. The background image is reflected.



      I want this to be dynamic, which I am not able to achieve. Is this possible? Or any suggested workarounds?










      share|improve this question













      I am trying to achieve Account specific branding in Communities. So every user belonging to one account sees a specific background. Preferably, the background-image needs to be related to the account record.



      I tried using the Edit CSS option in the community Theme settings. Below option:
      enter image description here



      The backgroud css can be applied here, but it can be only one static image URL. Like, I have uploaded the image in documents and made it externally available. The background image is reflected.



      I want this to be dynamic, which I am not able to achieve. Is this possible? Or any suggested workarounds?







      visualforce community css customer-community style






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      Hemant Jain

      1,663316




      1,663316




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          The only way I know of to do something like this would be to use the Experience Id. Unfortunately to access the expid, you would likely need to set up Dynamic Branding URLs for login. You can learn more about this Identity feature by reading Dynamic Branding for Multiple Brands in the Salesforce Identity Implementation Guide.






          share|improve this answer




















          • Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
            – Hemant Jain
            2 hours ago

















          up vote
          2
          down vote













          I think your best bet is a thing called "Page Variations". You can create audiences and show them different variations of the page (including a different template)



          This might still be hard to achieve, but it should be possible to do something similar to what you are wanting, albeit with limits.



          enter image description here



          In the variation, you can specify things such as profile, and specifically, the Account on a user:



          enter image description here



          See at the bottom of the image, you have the ability to specify the AccountId.



          I have not used this feature yet, so you will need to experiment.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "459"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f237020%2fcan-we-change-community-template-background-dynamically%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            The only way I know of to do something like this would be to use the Experience Id. Unfortunately to access the expid, you would likely need to set up Dynamic Branding URLs for login. You can learn more about this Identity feature by reading Dynamic Branding for Multiple Brands in the Salesforce Identity Implementation Guide.






            share|improve this answer




















            • Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
              – Hemant Jain
              2 hours ago














            up vote
            2
            down vote













            The only way I know of to do something like this would be to use the Experience Id. Unfortunately to access the expid, you would likely need to set up Dynamic Branding URLs for login. You can learn more about this Identity feature by reading Dynamic Branding for Multiple Brands in the Salesforce Identity Implementation Guide.






            share|improve this answer




















            • Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
              – Hemant Jain
              2 hours ago












            up vote
            2
            down vote










            up vote
            2
            down vote









            The only way I know of to do something like this would be to use the Experience Id. Unfortunately to access the expid, you would likely need to set up Dynamic Branding URLs for login. You can learn more about this Identity feature by reading Dynamic Branding for Multiple Brands in the Salesforce Identity Implementation Guide.






            share|improve this answer












            The only way I know of to do something like this would be to use the Experience Id. Unfortunately to access the expid, you would likely need to set up Dynamic Branding URLs for login. You can learn more about this Identity feature by reading Dynamic Branding for Multiple Brands in the Salesforce Identity Implementation Guide.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 3 hours ago









            crmprogdev

            34.8k73691




            34.8k73691











            • Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
              – Hemant Jain
              2 hours ago
















            • Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
              – Hemant Jain
              2 hours ago















            Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
            – Hemant Jain
            2 hours ago




            Thanks. Haven't heard of this before. Will try to learn about this and see if this solves my problem
            – Hemant Jain
            2 hours ago












            up vote
            2
            down vote













            I think your best bet is a thing called "Page Variations". You can create audiences and show them different variations of the page (including a different template)



            This might still be hard to achieve, but it should be possible to do something similar to what you are wanting, albeit with limits.



            enter image description here



            In the variation, you can specify things such as profile, and specifically, the Account on a user:



            enter image description here



            See at the bottom of the image, you have the ability to specify the AccountId.



            I have not used this feature yet, so you will need to experiment.






            share|improve this answer
























              up vote
              2
              down vote













              I think your best bet is a thing called "Page Variations". You can create audiences and show them different variations of the page (including a different template)



              This might still be hard to achieve, but it should be possible to do something similar to what you are wanting, albeit with limits.



              enter image description here



              In the variation, you can specify things such as profile, and specifically, the Account on a user:



              enter image description here



              See at the bottom of the image, you have the ability to specify the AccountId.



              I have not used this feature yet, so you will need to experiment.






              share|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                I think your best bet is a thing called "Page Variations". You can create audiences and show them different variations of the page (including a different template)



                This might still be hard to achieve, but it should be possible to do something similar to what you are wanting, albeit with limits.



                enter image description here



                In the variation, you can specify things such as profile, and specifically, the Account on a user:



                enter image description here



                See at the bottom of the image, you have the ability to specify the AccountId.



                I have not used this feature yet, so you will need to experiment.






                share|improve this answer












                I think your best bet is a thing called "Page Variations". You can create audiences and show them different variations of the page (including a different template)



                This might still be hard to achieve, but it should be possible to do something similar to what you are wanting, albeit with limits.



                enter image description here



                In the variation, you can specify things such as profile, and specifically, the Account on a user:



                enter image description here



                See at the bottom of the image, you have the ability to specify the AccountId.



                I have not used this feature yet, so you will need to experiment.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                Caspar Harmer

                12.2k21750




                12.2k21750



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f237020%2fcan-we-change-community-template-background-dynamically%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?