Author Archives: xiligroup dev

How to move banner in theme twentytwelve ?

By default in twentytwelve, the banner is under the nav menu, how to move it above just before the menu and behind the title of the website ?

Just add these two lines in style.css of child theme.

#page {background: #ffffff url(http://2012.wpmu.xilione.com/files/2013/06/header-twenty-twelve.png) no-repeat top center;}
hgroup {height:182px;}

The first line inserts image pre-saved in Media Library. The second line moves the navigation menu just under the banner.

M.

Child theme TwentyTwelve-xili – What’s new in version 1.2 ?

This example of child theme based on parent TwentyTwelve was completely rewritten.

Before updating to v 1.2 – VERIFY that version 2.8.8 of xili-language plugin is installed !!

It is now based on library and classes included in plugin xili-language and results of future TwentyTwelve-xili development for WP 3.6.

Previous features are conserved.

For webmasters : Live Theme customization is active, cloning of navigation menus and widgets zone possible, a default random slideshow is added by default.

For developers : This example is rich and the class is extendable. The code source in functions.php is tiny.

2012-xili : new version 1.1 with clonable sidebar. [updated]

Version 1.1 includes (as example for other themes) a new feature : clonable sidebar !
It is now possible to have a sidebar of each wanted target language. It can be very interesting if, according content strategy, the content (series of widget) are different in each language.

In xili-options, webmaster checks (or not) the sidebar to be cloned. And in Apparence/widget, the sidebar container appears at right column…

For developer as example for your theme : you will see a function in functions.php to define in admin UI which sidebar must be cloned and some new lines in sidebar.php and sidebar-front.php in the child theme.

Version 1.1.2 improves search form.

twentytwelve-xili v1.1.2

Installation

Q: How to install this child theme ?

R: Like other child theme: upload the folder in themes folder near twenty twelve folder. In Appearance/Themes select this child as active theme. Next: setting the widgets and menus and xili-language settings (see wiki pages).

Soon more infos … 😉