Skip to main content

Hello,

I  need to add a custom text "Development Environment" in the header of common view. I want to do it via theme so that it will reflect to all forms which is using the theme. I tried to searched lot of things in the theme.css of my theme, however all i can see is the css, I don't see option to inject the following span tag into into header

<span style="font-color:red">Development Environmet</span>

 

how can i implement this?

 

 

Hi,


 


From what I know about CSS, you cannot insert new HTML elements into your page using CSS. Feel free to update me if I am wrong. Haven't been reading up about CSS3 recently.


 


There is a CSS content property which can allow you to insert some text into a HTML element, but again, this is assuming you already have an existing HTML element which you can modify using CSS.


 


Why not just create a common view, add whatever text you want, then include that view in all your smartform forms? This is how most people are doing it any way.


 


Reply