如何在Wix网站中添加自定义CSS [英] How to add custom css in wix website

查看:102
本文介绍了如何在Wix网站中添加自定义CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是wix的新手,正在编辑一个网站,并希望在页面中添加CSS.但找不到CSS的任何选项.有人知道如何在wix网站中添加自定义CSS代码吗?

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?

谢谢

推荐答案

您可以通过在每个页面上嵌入内嵌样式来实现此目的,方法是在< style> 之间创建一大堆自定义css代码和</style> .

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. 转到您网站的信息中心.
  2. 点击左侧的管理网站.
  3. 点击跟踪和分析.
  4. 点击 +新工具**,然后从下拉列表中选择**自定义.
  5. 设置您的自定义代码:
  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. 输入您的自定义代码.
  2. 选择相关域.注意:仅当您有多个域时,此选项才会显示.
  3. 输入您的自定义代码的名称.
  4. 向页面添加代码:选择要将代码添加到的页面:
    • **所有页面:**单击下拉列表以选择一个选项:
      • 一次加载代码.
      • 在每个新页面上加载代码.
  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.
  • -@Daniel Gurtner指出,请避免这种情况,因为它会在任何固有样式之前插入它,这使它在这里几乎毫无用处.
  • 身体-开始
  • 正文-结尾注意::我建议在此处添加样式块,以避免对加载产生延迟影响
  • 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

  • 点击应用.
  • 这篇关于如何在Wix网站中添加自定义CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆