Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter hank61

    (@hank61)

    Hi George,

    That did the trick. You’re the man!!!

    Many thanks!

    P.S. I hope your kitty didn’t keep you up all night after OD·ing on the Caffeine:-)

    Thread Starter hank61

    (@hank61)

    Hi George,

    Thanks for your detailed response. I’m a little confused though because my query pertains specifically to ordered lists and your response mainly deals with unordered lists. Can you please revise your post to address my questions about ordered lists? That would be extremely helpful.

    Thanks again for your help!

    Thread Starter hank61

    (@hank61)

    Hi Lisa,

    Thanks for your reply and suggestion. Yes, I was trying to directly edit the html code of a block in the editor area.

    I suppose I could add CSS for the 16px of padding-bottom for all “li” items instead. But wouldn’t that mess up the spacing that’s currently in good shape throughout my web pages? In other words, wouldn’t that add 16 px padding to the bottom of each and every line throughout my website? If so, that wouldn’t work. I don’t want to have to go back and reformat everything.

    I’m wondering if there is similar CSS code that will just add padding between items in an ordered list? That’s what I really need.

    Any other suggestions would be greatly appreciated.

    • This reply was modified 3 years ago by hank61.
    • This reply was modified 3 years ago by hank61.
    Thread Starter hank61

    (@hank61)

    Steve,

    That forum appears to be DOA. Notice you’ll have to go back over 3 years before anyone replied to a post. I can certainly give it a try, but I’m afraid it’s just a waste of time.

    Does anyone else have ideas/insight.

    Thanks,
    Jeff

    Thread Starter hank61

    (@hank61)

    Hello c_elliott,

    Thanks for taking the time to resolve my issue along with the clear and thorough explanations. Your help is greatly appreciated!!!

    Thread Starter hank61

    (@hank61)

    Hello c_elliott,

    Thanks for your reply. I’ve got good news and bad news; the good news is your code changed the scrollup arrow color to white. The bad news is there’s an error with this part of your code “\f106”. Here’s the full string that I copied and pasted into my custom css

    
    .scrollup:after {
        content: "\f106";
        color: #ffffff;
    }
    

    If you inspect the icon, you’ll see 1 error. I’m not sure how to locate the error, but in my custom CSS window the “\f106” part of your code is highlighted in RED indicating an error.
    Any idea what’s going on there?
    Thanks again!

    Thread Starter hank61

    (@hank61)

    Unfortunately, this doesn’t answer my question. Can anyone else help?
    Sincerely,
    Jeff

    Thread Starter hank61

    (@hank61)

    Hi Ashwin,

    Thanks for your reply.

    I have a child theme but I’m not sure how to tweak it. That’s the reason for my post.

    Previously. I copied index.php into my child theme folder and renamed it home.php. Then I edited home.php to comment out the get_sidebar() call so that I could get a full width listing with my Post Page. And that solved the problem. Now I’m trying to solve the Post Page Header (h2) not displaying problem.

    Here’s the code to my home.php file located in my child theme directory:

    <?php
    /**
     * The main template file.
     *
     * This is the most generic template file in a WordPress theme
     * and one of the two required files for a theme (the other being style.css).
     * It is used to display a page when nothing more specific matches a query.
     * E.g., it puts together the home page when no home.php file exists.
     * Learn more: http://codex.ww.wp.xz.cn/Template_Hierarchy
     *
     * @package thbusiness
     */
    
    get_header(); ?>
    <div class="col-xs-12 col-sm-12 col-md-8">
    	<div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main">
    
    		<?php if ( have_posts() ) : ?>
    
    			<?php /* Start the Loop */ ?>
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php
    					/* Include the Post-Format-specific template for the content.
    					 * If you want to override this in a child theme, then include a file
    					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    					 */
    					get_template_part( 'content', get_post_format() );
    				?>
    
    			<?php endwhile; ?>
    
    			<?php thbusiness_paging_nav(); ?>
    
    		<?php else : ?>
    
    			<?php get_template_part( 'content', 'none' ); ?>
    
    		<?php endif; ?>
    
    		</main><!-- #main -->
    	</div><!-- #primary -->
    
    </div><!-- .col-xs-12 col-sm-12 col-md-8 -->
    <div class="col-xs-12 col-sm-6 col-md-4">
    	 <?php // get_sidebar(); ?>
    </div><!-- .col-xs-12 .col-sm-6 .col-md-4 -->
    <?php get_footer(); ?>
    

    Any suggestions on how to get my Header(h2) to display on the Post Page?

    Sincerely,
    Jeff

    Thread Starter hank61

    (@hank61)

    Hello Joy,

    You have just brought lots of Joy to my life. That did the trick and I’m good to go. You’re a genius!

    Many Thanks!!!

    Jeff

    Thread Starter hank61

    (@hank61)

    Unfortunately when I create a bare-bones child theme and activate it, it changes my home page. For example, the header image disappears and the site logo is replaced with my company name displayed in text. Below is the code for the child theme that I saved as style.css in folder /wp-content/themes/jeff_child_theme

    Note: I created this bare-bones child theme using instructions from an article on wpbeginner.com on “How to Create a WordPress Child Theme”

    Any additional suggestions would be greatly appreciated.

    /*
    Theme Name: jeff_child_theme
    Theme URI: http://pessolutions.com/
    Author: Jeff Miller
    Author URI: http://pessolutions.com/
    Description: THBusiness Child Theme created by Jeff Miller
    Template: thbusiness
    Version: 2.0.7
    */

    @import url(“../thbusiness/style.css”);

    Thread Starter hank61

    (@hank61)

    Hi,
    Thanks for your suggestion. If I were to create a child theme, would this have any impact on my existing custom CSS? Being that I’m a relative newbie, is there a way to accomplish your above modifications using custom CSS instead of creating a child theme?
    Thanks again for your assistance!
    Sincerely,
    Jeff

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