• Resolved yatiya

    (@yatiya)


    Hi

    I am using Spirited-lite, but have modified it 9as per the “use and abuse” licence.

    I’d like some help with some customizaion please:

    1) How can I make the three boxes under the slider display more text? Specifically, the first two? Basically I’d like the “read more” for all 3 boxes to be near the bottom of the box, with maximal text filling the box.

    2) I need my phone number in the header over two lines (which I achieved by using `<div class=”icon-left-top bgnone”>
    <?php if( ” !== get_theme_mod(‘contact_no’)){ ?>
    <a><i class=”fa fa-phone fa-1x”></i><?php echo str_replace (‘^’,'<br /> ‘,get_theme_mod(‘contact_no’, ‘:+1 800 234 568’)); ?>
    <?php } ?>
    </a></div>`)

    Problem is, the numbers are now not clickable on a mobile phone. Can I fix this, but still keep the two numbers split over two lines?

    3) i added an image to the header by adding a img_src line in header.php. However, the image is not showing on a mobile phone. Can I fix this?

    4) The last issue seems to be a flaw with the theme. When I don’t have any blog posts, instead of a “get started here” link, the no-results is displaying the actual href for it instead of just a link. (so instead of “get started here” as a blue hyperlink, it displaying <a h r e f="https://www.entdocatiya.co.za/wp/wp-admin/post-new.php">Get started here< / a >

    Thank you for a great theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author sonalsinha21

    (@sonalsinha21)

    1. In index.php change from excerpt to content
    2. You have to apply CSS and coding there
    3. Check style.css and use firebug to check the responsive css.
    4. Hmm. I couldn’t see the same on your site.

    Thread Starter yatiya

    (@yatiya)

    Thank you

    I’ve figured out the header image (3), as well as how to split the phone numbers up.

    Regarding the 4th issue, you won’t be able to see it, because it only appears when I’m logged in as a poster. However, I’ve now created posts, so it’s not really an issue anymore.

    This is the index.php code. I don’t see excerpt anywhere? Besides, I don’t want ALL my blog posts to display the whole post – just the front page three boxes.

    get_header();
    ?>
    <div class="container">
         <div class="page_content">
            <section class="site-main">
            	 <div class="blog-post">
    					<?php
                        if ( have_posts() ) :
                            // Start the Loop.
                            while ( have_posts() ) : the_post();
                                /*
                                 * Include the post format-specific template for the content. If you want to
                                 * use this in a child theme, then include a file called called content-___.php
                                 * (where ___ is the post format) and that will be used instead.
                                 */
                                get_template_part( 'content', get_post_format() );
    
                            endwhile;
                            // Previous/next post navigation.
                            spiritedlite_pagination();
    
                        else :
                            // If no content, include the "No posts found" template.
                             get_template_part( 'no-results', 'index' );
    
                        endif;
                        ?>
                        </div><!-- blog-post -->
                 </section>
    
            <?php get_sidebar();?>
            <div class="clear"></div>
        </div><!-- site-aligner -->
    </div><!-- content -->
    <?php get_footer(); ?>

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Spirited-Lite: Please help with customisation’ is closed to new replies.