Title: FlatOn update
Last modified: August 22, 2016

---

# FlatOn update

 *  Resolved [Nimbala9](https://wordpress.org/support/users/nimbala9/)
 * (@nimbala9)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/flaton-update/)
 * He visto en mi escritorio que hay una actualización para el tema FlatOn 1.0.8,
   que es el que estoy usando. La cosa es que he estado modificando algunas cosas
   en el style.css. El problema ha llegado cuando ha aparecido en mi escritorio 
   que hay una nueva actualización de mi tema. Entonces, buscando en google he visto
   que para que no desaparezcan las modificaciones que he ido realizando en mi tema
   tengo que crear un tema hijo. Pues bien, ya he creado el tema hijo como se indicaba,
   creando un nuevo archivo style.css y functions.php para mi tema hijo.
    Me han
   quedado así: El style.css de mi tema hijo (FlatOn-child):
 * /*
    Theme Name: FlatOn Child Theme URI: [http:///www.lapiznomada.com/](https://wordpress.org/support/topic/flaton-update/?output_format=md)
   Description: FlatOn Child Theme Author: Andrea Bergareche Author URI: [http://www.lapiznomada.com/](http://www.lapiznomada.com/)
   Template: flaton Version: 1.0. Tags: custom-background, custom-header, custom-
   menu, featured-images, fixed-layout, post-formats, responsive-layout, right sidebar,
   sticky-post, threaded-comments, translation-ready, two columns Text Domain: flaton-
   child . This work, like WordPress, is released under GNU General Public License,
   version 2 (GPL).
 * [http://www.gnu.org/licenses/old-licenses/gpl-2.0.html](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
 * .
    */ [@import](https://wordpress.org/support/users/import/) url(“../flaton/style.
   css”);
 * /*————————————————————-
 * Y el achivo functions.php de mi tema hijo:
 * <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ ); function theme_enqueue_styles(){
   wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’);
   wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ));}?
   > <?php
 * function childtheme_create_stylesheet() {
    $templatedir = get_bloginfo(‘template_directory’);
   $stylesheetdir = get_bloginfo(‘stylesheet_directory’); ?> <link rel=”stylesheet”
   type=”text/css” href=”<?php echo $templatedir ?>/library/styles/reset.css” />
   <link rel=”stylesheet” type=”text/css” href=”<?php echo $templatedir ?>/library/
   styles/typography.css” /> <link rel=”stylesheet” type=”text/css” href=”<?php 
   echo $templatedir ?>/library/styles/images.css” /> <link rel=”stylesheet” type
   =”text/css” href=”<?php echo $templatedir ?>/library/layouts/2c-l-fixed.css” /
   > <link rel=”stylesheet” type=”text/css” href=”<?php echo $templatedir ?>/library/
   styles/18px.css” /> <link rel=”stylesheet” type=”text/css” href=”<?php echo $
   stylesheetdir ?>/style.css” />
 * <?php
    } add_filter(‘thematic_create_stylesheet’, ‘childtheme_create_stylesheet’);
 * ?>
 * Mis dudas son, las modificaciones que yo había realizado antes de crear mi tema
   hijo en el tema original se mantendrán cuando actualice? Por ejemplo había modificado
   la altura de mi cabecera, o los colores del tema, todo eso se mantendrá ahora
   si actualizo?
 * Por ultimo, he tratado ya de actualizar el tema FlatOn a la versión 1.0.9 y al
   intentarlo me devuelve el siguiente mensaje:
 * Actualizar tema
    Descargando paquete de instalación desde [https://downloads.wordpress.org/theme/flaton.1.0.9.zip…](https://downloads.wordpress.org/theme/flaton.1.0.9.zip…)
 * Descomprimiendo actualización…
 * No ha sido posible copiar el archivo. flaton/screenshot.png
 * Volver a la página de temas
 * Por qué? que pasa? Me gustaría poder actualizar el tema sin perder mis modificaciones.
   Gracias

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [Venkat Raj](https://wordpress.org/support/users/webulous/)
 * (@webulous)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/flaton-update/#post-5673855)
 * I don’t know spanish, but from translation I guess you like to update theme without
   loosing your modifications (it is possible if you’ve used child theme properly)
 * However, take BACKUP of both themes (parent and child) and DATABASE and then 
   try. So that you can always restore.
    Here is a link from which you can download
   old version of parent theme. [https://wordpress.org/themes/flaton/developers/](https://wordpress.org/themes/flaton/developers/)
 *  Thread Starter [Nimbala9](https://wordpress.org/support/users/nimbala9/)
 * (@nimbala9)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/flaton-update/#post-5673899)
 * Thanks. I have one more question. I´m trying to change the width of my main menu.
   Now, the menu is full widht, but I don´t like that. I want a menu with the same
   width as the site content widht: 1317px, aligned in the center, with two white
   margins around each side of the menu. How I can change this in my css?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘FlatOn update’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/flaton/1.2.3/screenshot.png)
 * FlatOn
 * [Support Threads](https://wordpress.org/support/theme/flaton/)
 * [Active Topics](https://wordpress.org/support/theme/flaton/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/flaton/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/flaton/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [modifications](https://wordpress.org/support/topic-tag/modifications/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nimbala9](https://wordpress.org/support/users/nimbala9/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/flaton-update/#post-5673899)
 * Status: resolved