Timeline for Making a simple contribution page template
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2017 at 10:35 | comment | added | Elad | Thank you, but still it not clear. I don't want to load this custom css for all pages (like putting it in the Custom CSS in Resource URL), because this css will override styles for the whole website. And I can't specify the css selector to be specific to this page, because I need to style core elements like the header, footer, etc. I am looking for a way to include a custom css file for a specific contribution page, nothing else. | |
Oct 18, 2017 at 22:58 | comment | added | Iowa Boy | You still put the CSS in the same file as the rest of your CSS, but be sure to include the page id and/or Civi Form Id in the CSS selector for these items so they do not impact other parts of your site. For me, the simplest way to find the right selector and CSS is to use Google inspector. But most browsers have an inspector. | |
Oct 18, 2017 at 18:52 | comment | added | Elad | Thank you. How do I associate a specific custom css file with a specific contribution page? I don't want to change the general css for all pages. | |
Oct 16, 2017 at 23:17 | comment | added | Iowa Boy | You can go to Administration > System Settings > Resources URL to see where your instance is pointing to for the CSS. You can then follow that path to edit the CSS or create your one path to a file of your choice. | |
Oct 16, 2017 at 9:05 | vote | accept | Elad | ||
Oct 16, 2017 at 9:04 | comment | added | Elad | Thank you. And which css file should I edit for that? | |
Oct 15, 2017 at 2:43 | history | answered | Iowa Boy | CC BY-SA 3.0 |