Apostrophe CMS Main Site Forum Home

Add widget with custom CSS


#1

Currently when I add link to page it appears as follows.
Screenshot%20from%202018-08-14%2009-03-07

The three links have no CSS by default. Can do something like, when I add a link it should appear with CSS directly( for e.g. can I assign some default CSS to link to pages when I call the widget in home.html itself)? or do I have to write the CSS in site.less?


#2

Hi sagargopale, you should post how-to questions to stackoverflow.com tagged apostrophe-cms so others can find the answers, after first reading our tutorials at apostrophecms.org.

You are responsible for the “front end” styles of your site — Apostrophe stays out of your way when it comes to styling your own content. In a project made withour CLI you can use site.less for this, yes.