Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    Marking thread as resolved. You can do this yourself as well.

    Admin

    In reply to: Mobile Theme Works with other mobile plugins?

    #32629

    Yep, you can use other mobile switching plugins with Graphene Mobile.

    Admin

    In reply to: Error establishing a database connection

    #32450

    Marking thread as resolved. You can do this yourself as well.

    Admin

    In reply to: Adding one graphic on entry page before posts

    #32441

    Use the Widget Logic or Widget Logic Visual plugin to control on which pages widgets appear.

    Admin

    In reply to: Error establishing a database connection

    #32448

    It means exactly what it says: WordPress can’t connect to the database. Check that your database details are correct in the wp-config.php file, and that the database actually exists in your server.

    Admin

    In reply to: How to display the footer on one line only?

    #32419

    Moved to Support. Please post in the correct section next time.

    Admin
    Quote:
    So if I have understood correctly, leave the css code block on each page until the site is ready for live running, then when all the configuration is agreed then copy out to the child style.css.

    That is correct.

    But you can still leave all the settings as they are, even the codes in the Custom CSS feature. The theme just won’t add those codes into the page anymore if you’ve ticked the option that you’ve copied them into the child’s style.css.

    Admin
    Quote:
    Suggest a change to remove the “move generated css” in Graphene options, this is really messy and means that for any further change in Graphene options, the code needs to be re-copied into the child style sheet file.

    Which is why you should only do it when you’re not expecting any frequent changes to your site’s style anymore.

    Quote:
    I thought that the style.css of the child theme is applied after the style.css of the parent theme, and that the Graphene options setting are updating the Graphene style.css directly.

    Yes, the theme’s styles are loaded first before the child theme’s styles, but the Graphene Options setting do not update the theme’s style.css file directly. This is due to several issues, one of which is the myriad of different file permissions on different servers that may not allow for modifying file directly. There’s also the security risk of allowing a theme to write a file on the server (less so in a VPS, but think about shared server).

    In most cases, the amount of additional CSS added to the page is inconsequential to the load time of the page, as they represent a very small portion of a page’s byte size (and since they are plain text, they are highly compressible as well). So it’s not worth it to do all the dances to take care of different server settings and the security risks of writing the changes directly into a file. Plus it’ll make saving the options page longer, and add another IO operation to your server.

    Quote:
    So why do we get a huge chunk of css code in each page (duplicated from teh style.css) which then needs to be copied into the child theme style.css file?

    You don’t have to. All the settings work fine without you having to copy the CSS codes into your child theme. This is just for those edge cases where people have been using all of the colour options and adding lots of CSS codes into the Custom CSS option.

    Quote:
    I have a child theme to keep specific css separate, and include additional code in functions.php.

    As it should be.

    Admin

    In reply to: Full Width Slider Problem clarification

    #32347

    Graphene Options > Slider Options > Extend slider to full width of the theme

    Admin

    Are you using any plugin for the buttons? You might need to add some Custom CSS to the Graphene Mobile to position them correctly.

Viewing 10 posts - 2,751 through 2,760 (of 6,030 total)