IT Blog

  • Blog
  • Technology
    • Technology
    • Architecture
    • CMS
    • CRM
    • Web
    • DotNET
    • Python
    • Database
    • BI
    • Program Language
  • Users
    • Login
    • Register
    • Forgot Password?
  • ENEN
    • 中文中文
    • ENEN
Experience IT
In a World of Technology, People Make the Difference.
  1. Home
  2. Technology
  3. CMS
  4. Nation Builder
  5. Customize theme CityZen

Customize theme CityZen

2018-07-04 778 Views 0 Like 0 Comments

Theme: CityZen

Add language switch to menu

Template file: _nav.html

change:

add

<li class="nodrop">
<a href="http://zh.nationbuilder.com{{ page.url }}">中文</a>
</li>

between {% endfor %} and </ul>.

Remove side bar from CityZen theme

Template file: layout.html

change:

from:

{% if request.is_sidebar? %}
<div class="clearfix" id="sidebar">{% include "sidebar" %}</div>
{% endif %}

to

{% if not request.is_sidebar? %}
<div class="clearfix" id="sidebar">{% include "sidebar" %}</div>
{% endif %}

 

Loading

error
fb-share-icon
Tweet
fb-share-icon
IT Team
Author: IT Team

Tags: None
Last updated:2021-04-10

IT Team

This person is lazy and left nothing

Like
Next >

Comments

Cancel reply
Newest Hotspots Random
Newest Hotspots Random
Rich editor not working Making web page scroll down automatically Getting data from Dapper result All Unicode Chars How to keep and display contact form 7 data Common Regular Expressions
Domain redirection OneDrive for Business 文件到 Google Drive 文件 Special characters and symbols for HTML Duplicator - backup & restore WordPress Event Calendar 的汉化 All Unicode Chars
Categories
  • Architecture
  • BI
  • C#
  • CSS
  • Database
  • DotNET
  • Hosting
  • HTML
  • JavaScript
  • PHP
  • Program Language
  • Python
  • Security
  • SEO
  • Technology
  • Web
  • Wordpress

COPYRIGHT © 2021 Hostlike IT Blog. All rights reserved.

This site is supported by Hostlike.com