• I’m using the Tiny framework and have created a child theme such that the menu items are styled differently than the parent default. I am following the instructions provided at Child Themes. OK, I haven’t a clue as to what enqueue thing is, the information is clear as mud to me, so I did nothing about that. However, I did a) create a tiny-framework-child directory and (b) placed the style.css file with the custom styles I want and the Tiny Framework’s default functions.php child example file in it (with no changes made).

    When I activated the child theme, local install via wampserver, the menu text reflects the child styles, but the link to the logo (site identity) is broken. Reading Child Themes I find the following:

    You may need to re-save your menu from Appearance > Menus and theme options (including background and header images) after activating the child theme.

    There is no Appearance > Menus directory in the theme directory structure and no mention is made about the logo. However, when I look at the page’s source I find the following for the parent theme:

    <div class="site-branding" itemprop="publisher" itemscope="itemscope" itemtype="https://schema.org/Organization">
    
    			<a href="https://localhost/marco-inc.com/" class="custom-logo-link site-logo-link" rel="home" aria-current="page"><img width="300" height="119" src="https://localhost/marco-inc.com/wp-content/uploads/2019/11/cropped-marco_logo_512x512-e1595434747122.jpg" class="custom-logo attachment-full size-full" alt="Marco Technical Documentation, Inc." /></a>
    			<div id="site-title-wrapper">
    
    				
    						<p id="site-title" class="site-title"><a href="https://localhost/marco-inc.com/" rel="home">Marco Technical Documentation, Inc.</a></p>
    					
    			</div><!-- #site-title-wrapper -->
    
    		</div><!-- .site-branding -->

    and for the child theme:

    		<div class="site-branding" itemprop="publisher" itemscope="itemscope" itemtype="https://schema.org/Organization">
    
    			
    			<div id="site-title-wrapper">
    
    				
    						<p id="site-title" class="site-title"><a href="https://localhost/marco-inc.com/" rel="home">Marco Technical Documentation, Inc.</a></p>
    					
    			</div><!-- #site-title-wrapper -->
    
    		</div><!-- .site-branding -->

    So, why does activating the child theme break the link to the logo image file?

    Thanks, Jeff

    • This topic was modified 4 years, 2 months ago by jeffbiss.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    First off, Please note that tiny-framework theme has not been updated for over 3 years!!!!!

    Having said that, since theme no longer be maintained or supported, it may have compatibility issues when used with more recent versions of WordPress.

    You you like you may ask in that theme’s support.

    My suggestion would be to consider find an up to date theme.

    • This reply was modified 4 years, 2 months ago by t-p.
    Thread Starter jeffbiss

    (@jeffbiss)

    t-p,

    I didn’t realize that it hasn’t been updated! I will definitely move on.

    However, there is the fact that it isn’t being maintained that will allow me to modify the parent theme files without fear of my changes being overwritten and lost.

    Thanks for your reply!

    Jeff

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logo link broken when child theme is activated’ is closed to new replies.