Skip to main content
Solved

Handling HTML defined components in Style Sheet

  • Apr 19, 2023 7:02 PM UTC
  • 9 replies
  • 252 views

Forum|alt.badge.img+3

Hello,

I’m working on Styling self-service portal, I have some questions below and would appreciate a solution.

  1. Need to change the "Favorites" sub-title to "My Favourites" just like how it is displayed in the menu, refer image-1 attached.
  2. Refer image-2 attached, (a) we need the boxes present on the below side in the image, to have outlines with color:

            My Open Events - #3B86C7

            My Decisions and Authorizations - #18A88A

            My Reported Events - #F26B51

            Major Incidents - #D91670

Just like the boxes present in the above in the image.

    (b) And the images associated with the boxes should be changed to the images present in

          the above. 

    (c) Also, the text inside the boxes should be wrapped. i.e. 

           My Open Events, My Decisions and Authorizations, My Reported Events, Major Incidents -                     should be wrapped. 

 

We are not able to make these modifications as we do not have access to the HTML and these styles are applied in HTML.

 

Thank you for your help in advance! 

 

 

Best answer by jyork

This worked for me:

 


Added the following CSS to the Styles for AssystNet:

 

h2#uniqName_66_1_title {
    visibility: hidden;
    position: relative;
    width: 75%
}

h2#uniqName_66_1_title:after {
    visibility: visible;
    top: 0;
    left: 0;
    content: "My Favorites";
    position: absolute;
}

View original

9 replies

jyork
Sidekick (Customer)
Forum|alt.badge.img+9
  • Sidekick (Customer)
  • Answer
  • Apr 21, 2023 3:59 PM UTC

This worked for me:

 


Added the following CSS to the Styles for AssystNet:

 

h2#uniqName_66_1_title {
    visibility: hidden;
    position: relative;
    width: 75%
}

h2#uniqName_66_1_title:after {
    visibility: visible;
    top: 0;
    left: 0;
    content: "My Favorites";
    position: absolute;
}


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • Apr 21, 2023 5:49 PM UTC

Thanks for providing the information, Jyork. I would surely try adding this to CSS.

 


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • Apr 24, 2023 12:34 PM UTC

Hi @jyork 

 

We don’t have access to the HTML to change the text.

Can you also advise me on how to change the outline of the summaries into different colors:

 

            My Open Events - #3B86C7

            My Decisions and Authorizations - #18A88A

            My Reported Events - #F26B51

            Major Incidents - #D91670

We want the above colors to the below summaries.

 

Thank you for your effort in advance.


jyork
Sidekick (Customer)
Forum|alt.badge.img+9
  • Sidekick (Customer)
  • Apr 24, 2023 8:35 PM UTC

I’m not sure I can answer that, our Assystnet does not look like that, so I don’t know what the HTML for those would be exactly.


Forum|alt.badge.img+12
  • Hero (Customer)
  • Apr 25, 2023 12:21 PM UTC

You could also look at adding a label (available in the Administration menu in assystWeb) to the assystNet configuration.

Installation:Labels Form - assyst11-6Wiki (axiossystems.com)

I find these fairly easy to find if you open the assystnet.properties file in notepad++ or a similar interface with ‘CTRL + F’ functionality.

For your example….

 

This will overwrite the native HTML I believe.


jyork
Sidekick (Customer)
Forum|alt.badge.img+9
  • Sidekick (Customer)
  • Apr 25, 2023 2:03 PM UTC

Weird, I searched the assystnet.properties file and could not find the word Favorites at all, which is why I did the CSS hack. I’ll have to check again, thanks. 


Forum|alt.badge.img+12
  • Hero (Customer)
  • Apr 25, 2023 2:24 PM UTC

Weird, I searched the assystnet.properties file and could not find the word Favorites at all, which is why I did the CSS hack. I’ll have to check again, thanks. 


Mines on line 716 if that helps?


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • Apr 27, 2023 5:15 PM UTC

Thank you so much @Steve Miller . This worked for me.😃


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • Apr 27, 2023 5:16 PM UTC

You could also look at adding a label (available in the Administration menu in assystWeb) to the assystNet configuration.

Installation:Labels Form - assyst11-6Wiki (axiossystems.com)

I find these fairly easy to find if you open the assystnet.properties file in notepad++ or a similar interface with ‘CTRL + F’ functionality.

For your example….

 

This will overwrite the native HTML I believe.

 

Thank you so much @Steve Miller . This worked for me.😃