Forum Replies Created

Viewing 15 replies - 16 through 30 (of 110 total)
  • Plugin Author Iceable

    (@iceable)

    Hi @jimmy369,

    Apologies for the delayed reply.

    To do this quick and dirty you would only change line 204 from this:

    if ( $last_active < strtotime( '-' . $this->old_topic_age_setting() . ' days' ) ) :

    to this:

    if ( $last_active < strtotime( '-1 hour' ) ) :

    or:

    if ( $last_active < strtotime( '-30 minutes' ) ) :

    And it should do the trick. If you are still stuck please let me know exactly what you have tried so I can try to have a closer look.

    Theme Author Iceable

    (@iceable)

    Hi, a built-in setting to do this easily is unfortunately not available in the Lite version. If you know some CSS, it is still possible to achieve this with some custom CSS (which you can add from Appearance > Customize > Additional CSS). This will require some custom coding however.

    Theme Author Iceable

    (@iceable)

    Hi, this is not related to the theme but to WordPress itself, so good news is that you can find help with this in every WordPress documentation and tutorial.

    What you are looking for especially is editing pages titles and their slugs – which define the corresponding URL (see: https://codex.ww.wp.xz.cn/Pages), and customising menus (see: https://codex.ww.wp.xz.cn/WordPress_Menu_User_Guide)

    Hopefully these links will be a good starting point, good luck!

    Theme Author Iceable

    (@iceable)

    Hi, all of these can be done by adding Custom CSS code to Customize > Additional CSS.

    Writing and providing custom code for your specific needs is, I’m afraid, a bit out of the scope of free theme support, but you should find some helpful pointers or even some ready-made code snippets by browsing our support forums.

    Also in case you’d like to learn more about CSS and get into it yourself, there are some great resources to get started at MDN’s website which I highly recommend: https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS

    Theme Author Iceable

    (@iceable)

    Hello,

    By default, for each post, the homepage displays an excerpt of the content along with the “featured image” (if there is one) and a “read more” link to the full post.
    Excerpts are text-only, they won’t include any image from the content.

    Alternatively, the homepage can show the full content of the post, including images.
    You can change this setting in Appearance > Customize > Blog Index Content : (Excerpt/Full content).

    Theme Author Iceable

    (@iceable)

    Hello,

    And thanks @phpexpert21 for stepping in so quickly.

    Indeed the theme, like most, allows to show either one or the other. But actually, when a logo is set, the title is also still included in a hidden H1 tag (for SEO purpose).
    You can un-hide it easily with just CSS. To do so add the following in Customize > Additional CSS:

    .site-title { display: block!important; }

    You may add additional CSS rules to change the position and margins if needed.

    Alternatively, you can also make even further changes directly in header.php. It is strongly recommended to create a child theme (see: https://codex.ww.wp.xz.cn/Child_Themes ) instead of editing a file directly from the theme. Copy header.php from the theme into the child and you can then edit this copy as you see fit.

    Theme Author Iceable

    (@iceable)

    Hi,
    The code you have found on the forum might have been specific to the OP’s site. Please try this instead to remove the meta boxes (date/author/comments) from the left and allow the post content to use the space on the left:

    .postmetadata { display: none; }
    .post-contents { padding-left: 0; width: auto; }
    .single-post .post-contents { margin-left: 0; width: auto; }

    If you still have any trouble or need additional help, please feel free to ask and don’t forget to mention a link to your site – having a look always allows to better help!

    Theme Author Iceable

    (@iceable)

    Hello,

    It is hard to tell for sure without the entire code, but my guess is that it misses a closing php tag before your code (which is pure HTML and therefore comes as “unexpected” for the php interpreter).

    Since your custom code is HTML only, you should add a closing php tag before, as well as an opening php tag after it, so it does not break the rest of the php file, like so:

    ?>
    
    [YOUR HTML CODE]
    
    <?php

    If you still get an error could you please paste the whole code of the modified file so I can better help you find what else can be wrong?

    • This reply was modified 9 years, 4 months ago by Iceable.
    Theme Author Iceable

    (@iceable)

    Hello, and thanks @teeru for stepping in with a working solution so quickly!

    I had a quick look at your site and found that the problem originates from a CSS conflict with bootstrap which is loaded on your site (maybe you added it or one of your plugin did?)

    Removing bootstrap if it isn’t actually needed would also solve the problem without the need for additional CSS.
    However, @teeru’s solution seems to fix it so you may as well not bother keep it that way if there is no further issue!

    Theme Author Iceable

    (@iceable)

    Hi, you can use a plugin like this one https://ww.wp.xz.cn/plugins/wp-display-header/ to set a different header image on a per-page basis (this is not theme-specific!)

    Not sure if you meant the “site title” or “page title” so here’s a way to change the size for both: first install a custom CSS plugin to make it easier to add custom CSS code on your site: https://ww.wp.xz.cn/plugins/simple-custom-css/
    Once installed, go to Appearance > Custom CSS and add the following code:

    For the site title:

    #logo .site-title { font-size: 45px; }

    For pages titles:

    #page-title h1 { font-size: 30px; }

    45px (and 30px respectively) are the default font size values, you can change them to any desired value when you add this to Custom CSS.

    Theme Author Iceable

    (@iceable)

    Hi,

    This doesn’t sound quite right since this theme is not supposed to have a scrollbar in the first place. Could you please post a link to your site so I can have a closer look and better help?

    Theme Author Iceable

    (@iceable)

    If you need to add HTML, this can be done in a theme file. Which files depends on where you need to add your HTML.

    Usually such code would be added either just after the <body> tag which would be in header.php, or at the end before </body> which would be in footer.php.
    You could edit these files from Appearance > Editor but this is strongly discouraged: if you edit a file from the theme directly, any future update of the theme will get rid of your changes because updates overwrite every file.
    Tthe proper way to avoid this is to create a child theme, then copy the file you want to edit in the child theme and edit this copy.

    If I may make a suggestion however a spinning loader is probably not the best solution for your loading time problem: it would be actually one more thing to load so the overall load time would become even longer, and the loader itself may not even load and show instantly.

    A better approach IMO would be to work on making your site load faster.

    How to do this is way beyond the scope of theme support but to get you started the first quick steps with high-results I would recommend are:
    – Enable gzip compression. This alone can reduce your load time by 50%. Here’s quick tutorial I wrote: https://www.iceablethemes.com/how-to-speed-up-your-wordpress-site-with-gzip-compression/
    – Use a caching plugin. Among the most popular are WP super cache and W3 total cache. Pick one (never install both at the same time!) and take a few minutes to make sure to tweak the settings – google it for info and tutorials – and it will also make quite a difference.

    Theme Author Iceable

    (@iceable)

    I can see the soundcloud playlist displaying correctly on your site so I assume you got this sorted already?

    Theme Author Iceable

    (@iceable)

    Hi, I just had a look at your site and found that some default CSS was overriding this code, making the image(s) show anyway.

    If you add “!important” to each CSS statement it prevent this issue. Please change the above code to:

    @media only screen and (max-width: 767px) {
    .hideonmobile { display: none !important; }
    }
    
    @media only screen and (min-width: 768px) {
    .hideondesktop { display: none !important; }
    }

    and this time it should work as expected 🙂

    Theme Author Iceable

    (@iceable)

    Hi again, here’s some code you can add in custom CSS (using a plugin as recommended in your other thread):

    #navbar select {
        color: #000000;
        background: #666666;
        border-color: #666666;
        font-size: 14px;
    }

    You can of course change the colors and font-size value as desired in this code (the default font-size was 12px).

    No media query is necessary here since the mobile menu is already only displayed on mobile devices.

    @sauravhny12: Thanks for stepping in, I understand you mean to help and this is greatly appreciated, let’s please stick to good practices however:
    One should never add or edit code in style.css – or any other native theme file – unless using a child theme.
    Also the media query doesn’t make much sense since the theme has a mobile layout triggered for max-width: 767px (and why the min-width ?), and why would you change the background color for all div tags when the question was about the mobile menu – which is a select dropdown in this theme ?

Viewing 15 replies - 16 through 30 (of 110 total)