Answers.Body: <p>There isn't a single file with all the HTML code you are looking for.  It is generated from various template files.  If you want to make CSS adjustments then use your browser's developer tools to look at the generated HTML.</p>
  <p>Putting your CSS changes in an extension as @demerit describes is the best practice option.  For small tweaks you can also use the custom CSS option: go to <code>Administer &gt; System Settings &gt; Resource URLs</code>.  In the <code>Custom CSS URL</code> enter something like <code>[civicrm.files]/css/extra.css</code>, create that file and put your changes in there.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-07-17T17:00:33.700Z
Answers.LastActivityDate: 2024-07-17T17:00:33.700Z
Answers.UserDisplayName: Aidan
Answers.Body: <p>A typical way to change the css is to <a href="https://docs.civicrm.org/dev/en/latest/extensions/civix/#generate-module" rel="nofollow noreferrer">make an extension</a>, and then in your extension you add some <a href="https://docs.civicrm.org/dev/en/latest/framework/resources/#css-stylesheets" rel="nofollow noreferrer">css overrides</a>. For a contribution page you can do that using <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm" rel="nofollow noreferrer">https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm</a>.</p>
  <p>Otherwise if you edit the core files it makes it difficult to upgrade. By using the extension you don't have to touch the core files.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-07-16T17:56:06.560Z
Answers.LastActivityDate: 2024-07-16T17:56:06.560Z
Answers.UserDisplayName: Demerit
Body: <p>I have a Contribution Page that acts as a member sign-up page without contributions. I'm trying to find the HTMl code so that I can change the CSS to look appeal to my companies theme on the webpage. Does anyone know where I would be able to find this?</p>
  
Tags: <civimember><contribution-page><css><html>
Title: HTML Code for Page
ThreadText: # HTML Code for Page
  
  (Asked by: username_0 on 2024-07-16)
  
  I have a Contribution Page that acts as a member sign-up page without contributions. I'm trying to find the HTMl code so that I can change the CSS to look appeal to my companies theme on the webpage. Does anyone know where I would be able to find this?
  
  **Tags:** civimember, contribution-page, css, html
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2024-07-17. Score: 1
  
  There isn't a single file with all the HTML code you are looking for. It is generated from various template files. If you want to make CSS adjustments then use your browser's developer tools to look at the generated HTML.
  
  Putting your CSS changes in an extension as @demerit describes is the best practice option. For small tweaks you can also use the custom CSS option: go to `Administer > System Settings > Resource URLs`. In the `Custom CSS URL` enter something like `[civicrm.files]/css/extra.css`, create that file and put your changes in there.
  
  
  ---
  
  ### Answer by username_2 on 2024-07-16. Score: 1
  
  A typical way to change the css is to [make an extension](https://docs.civicrm.org/dev/en/latest/extensions/civix/#generate-module), and then in your extension you add some [css overrides](https://docs.civicrm.org/dev/en/latest/framework/resources/#css-stylesheets). For a contribution page you can do that using <https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm>.
  
  Otherwise if you edit the core files it makes it difficult to upgrade. By using the extension you don't have to touch the core files.
  
  
  ---
  
  