How to add custom css in wix website

前端 未结 3 1578
天命终不由人
天命终不由人 2021-02-07 20:38

I am new at wix and editing a website and want to add css in a page. but not found any option for css. Anybody know how to add custom css code in wix website?

Thanks

相关标签:
3条回答
  • 2021-02-07 21:36
    1. Click Add on the left in the editor.
    2. Click More → Embeds.
    3. Drag the HTML iframe to the site.
    4. Click your iframe and click Edit Code.
    5. Then type:

      <style>
       /* CSS Code */
      </style>
      
    0 讨论(0)
  • 2021-02-07 21:40

    You can do this by embedding inline styles to every page, via creating a chunk of custom css code contained between <style> and </style>.

    1. Go to your site's dashboard.
    2. Click Manage Website on the left.
    3. Click Tracking & Analytics.
    4. Click + New Tool **and select **Custom from the dropdown.
    5. Set up your custom code:
      1. Enter your custom code.
      2. Select the relevant domain. Note: This option will appear only if you have multiple domains.
      3. Enter a name for your custom code.
      4. Add Code to Pages: Select which pages to add your code to:
        • **All Pages: **Click the dropdown to select an option:
          • Load code once.
          • Load code on each new page.
        • **Choose specific pages: **Begin typing the name of the relevant pages and then click the checkbox next to the relevant page.
      5. Place Code in: Select where the code snippet in placed in your site's code:
        • Head - as noted by @Daniel Gurtner, avoid this because it'll insert it BEFORE any of the inherent styles, which makes it mostly useless here.
        • Body - start
        • Body - end Note: I'd recommend adding your style chunk here to avoid having a delay effect on your loading
    6. Click Apply.
    0 讨论(0)
  • 2021-02-07 21:43

    You can't. This is not a feature provided by Wix.

    ref. other ref.

    0 讨论(0)
提交回复
热议问题