Jump to content
  • 0

Styles on HTML DataPage


taylorswiftlover
 Share

Question

3 answers to this question

Recommended Posts

  • 0
Just now, joneslovescaspio said:

Hello, I am following a related article in which I can apply a style using the header on a DataPage. I am using a HTML DataPage but I can't seem to find a header.  How do I apply the style? Thank you. 

Hi, you can actually place the code of the style that you wanted to apply directly on the HTML DataPage. If you are following this User specific redirect after login: https://howto.caspio.com/tech-tips-and-articles/common-customizations/create-user-specific-redirect-after-login/,  styling the HTML DataPage is not necessary. You will need to place the styles on the Header on all of the DataPages manually, and not on the HTML DataPage as it will not affect your UI. 

Link to comment
Share on other sites

  • 0

Hi, 

Just to share some information, I usually apply a style on the authentication fields selected on my HTML DataPage using an inline-CSS.

For example, a users logs in, I would like to display "Welcome, [@authfield:FirstName]" and apply a blue font color on the HTML DataPage, I just apply inline-CSS like <h1 style="font-color: blue;"> Welcome, [@authfield:FirstName] </h1>. That is how I apply the style. 

Here is a reference if you need information about inline-CSS: https://www.w3schools.com/html/html_css.asp#:~:text=try it yourself.-,Inline CSS,-An inline CSS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...