Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

If you Like the Asteria Lite Theme and want to Keep it free forever Please Rate it on Wordpress.org (It only takes a few seconds)
Viewing 16 posts - 1 through 16 (of 16 total)

child theme messing up the layout

Home Forums Free Theme Support Asteria Lite child theme messing up the layout

  • #116201

    Lukas

    Hi again,

    I finally decided to create a child theme but something doesn’t work right. I found out on the forum that:

    wp_enqueue_style( ‘asteria-style’, get_template_directory_uri().’/style.css’);

    In fact, you should probably do it like this;

    wp_enqueue_style( ‘asteria-style’, get_stylesheet_uri() );

    Before changing the code to the one above (in function.php parent theme) nothing was going on at all but now my frontpage isn’t working. I have 2 sliders, posts are displayed vertically. It’s a big mess.
    Somehow though, I can see that the slider dots disappeared so something is working.

    /*
    Theme Name: Asteria-Lite Child
    Theme URI: http://www.towfiqi.com/asteria-lite-free-wordpress-theme.html
    Description: Asteria-Lite Child Theme
    Template: Asteria-Lite
    Text Domain: asteria-lite child theme
    */

    @import url(β€œ../asteria-lite/style.css”);

    /* =Theme customization starts here
    ————————————————————– */

    .nivo-controlNav{display:none!important;}

    I also want to change part of php (layout1.php) but I’m confused how to do it properly. Do I just need to put layout1.php with the changed code in the child’s theme directory?
    Do I need to copy the function.php to child theme? (I did it already just to try and I couldn’t even login to my site so I deleted it).

    “>

    with this:

    “>

    I’m still working locally so I can’t send you the link…

    Any help would be greatly appreciated.

    #116732

    Towfiq I.

    administrator

    replace this:|

    Template: Asteria-Lite

    with this:

    Template: asteria-lite

    #116833

    Lukas

    Replacing the template from Asteria-lite to asteria-lite didn’t work out. The frontpage still looks messy. I have 2 vertical menus, 2 sliders and posts are displayed vertically.
    But as I said before:
    .nivo-controlNav{display:none!important;} must be working as 3 dots on a slider disappear after adding this line.
    May it be that there is something wrong with the function.php code?

    #117155

    Towfiq I.

    administrator

    whats your site address?

    #130215

    Lukas

    Can you take a look at my site-lukaszsaczek.com. I still haven’t sorted out the child theme problem… As I said before I changed:

    wp_enqueue_style( β€˜asteria-style’, get_template_directory_uri().’/style.css’);
    to
    wp_enqueue_style( β€˜asteria-style’, get_stylesheet_uri() );

    which messes up the layout but somehow:
    .nivo-controlNav{display:none!important;} removes the 3 green dots from the slider.

    #130667

    Oscar Ovalle

    subscriber
    #131007

    Towfiq I.

    administrator

    @pornozcar your site is not using the child theme. can you switch to child theme and let me know?

    Thanks

    #131014

    Towfiq I.

    administrator

    sorry my bad.. I just found out you are using the child theme. How did you save the child stylesheet? its adding weird characters all over the file:
    http://www.copanacionaltrek.com/wp-content/themes/asteria/style.css?ver=3.9

    #131015

    Oscar Ovalle

    subscriber

    done

    #131016

    Oscar Ovalle

    subscriber

    @charset β€œUTF-8β€³;
    /* CSS Document */

    /*
    Theme Name: Asteria Child Theme
    Theme URI:
    Description: Asteria Child Theme
    Author:
    Author URI:
    Template: asteria
    Version: 1.0.0
    */

    @import url(β€œ../asteria/style.css”);

    /* =Theme customization starts here
    β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”- */

    #131025

    Towfiq I.

    administrator

    okay. there are some wrong qoute marks here. try replacing all the code with this:

    @charset "UTF-8";
    /* CSS Document */
    
    /*
    Theme Name: Asteria Child Theme
    Theme URI:
    Description: Asteria Child Theme
    Author:
    Author URI:
    Template: asteria
    Version: 1.0.0
    */
    
    @import url("../asteria/style.css");
    
    /* =Theme customization starts here
    β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”- */
    #131030

    Oscar Ovalle

    subscriber

    Great. Thanks a lot

    How can I modify to white colors the properties of the TABS and the table shortcode?

    #131193

    Lukas

    http://www.lukaszsaczek.com
    Any thoughts about my child theme? Shall I mess up with the function.php file and change:

    get_template_directory_uri().’/style.css’)
    to
    get_stylesheet_uri() )

    Anyways, without changing function.php file no css is loaded but with changing the function.php I think I see some changes (slider dots disappeared) but the whole page layout is messed up…

    #132023

    Towfiq I.

    administrator

    can you switch to child theme and let me know?

    #132208

    Lukas

    Hi, now I switched to child theme. I’ve upgraded your theme today and quickly realised how important is a child theme as I lost my work and had to start over:)
    I read that the upgraded theme has a logo option-“allows you to design your site logo”? Or did you mean designing a logo-text with fonts (not really an image)?
    Thanks again for your time.

    #132209

    Towfiq I.

    administrator

    yes you can add image logo in the PRO version.

You must be logged in to reply to this topic.