Site template not working in wordpress

Okay, so I'm developing a site in wordpress and I have two file templates "Default Template" and "Shop" in both templates I have;

<?php include('breadcrumbs.php'); ?>

and inside the 'breadcrumbs.php' file I the following;

<div class="breadcrumbs">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <ol class="breadcrumb">
                <?php
                    if (function_exists('show_full_breadcrumb')) {
                        show_full_breadcrumb();
                    }
                ?>
                </ol>
           </div>
       </div>
   </div>
</div>

Now these breadcrumbs display properly if it is in the 'default template' like this;

Breadcrumbs

But on the shop page display like this and I have no idea why as they're both including the same file;

Breadcrumbs

now I'm not sure if this would affect much of it but I am also using WooCommerce. Hopefully someone can help! thanks in advance!

Solutions

It's definitely a css issue. Something is overriding the styling on that shop page. Use firebug to diagnose the breadcrumbs. Or provide a link so I can look at it. But Firebug will show you the ul styling right on the breadcrumbs and you can A/B between the default and the shop template. Should be an easy fix with the CSS

Hope this helps.

Tags: PHP / Html / Css

Similar questions

Site not working properly after cloning live WordPress site into localhost (Xampp)
I have cloned a live Wordpress website into local environment (using xampp server), the main page of website is working http://localhost/foldername, but when I try to go any other link, it returns me to the http://localhost/dashboard url. Thanks in advance for your nice directions.
Wordpress template deleted, but still working and showing on template selection
I have a template front-page.php in my theme. Its name is "Front Page". My problem is that when I commit changes in this file. It wont reflect on the front end. This happened just yesterday and I don't know what's going on.. I tried deleting this template but, my page that uses this template still uses this (deleted) template. When I edit the page,...
WordPress custom login and register working fine on localhost but on site not working
Hello guys this is jack, i would ask about problem make me confusing when i made the custom_login.php for custom login template custom_register.php for custom register template it's work fine on localhost but on live version the custom_login.php not working (displaying without error fine, but not login the user or redirect him to main page) the cus...
WP Site in subdirectory Joomla! Site - Permalinks not working
I have WordPress in a test folder inside the root directory where I Joomla! 3.x site is running. Somehow the Joomla! rewrite rules are interfering with the WordPress permalinks rules. I keep on getting Joomla! 404 messages and some odd: errors. I try to resolve these specific errors here on StackOverflow. Is there a way I can make Joomla! only worr...
new WPMS site not working / Q setting up new site/subdomain
I have followed all the instructions and read several articles verifying the config for WPMS was done correctly. My root site works fine, but when trying to go to the dashboard (or the direct URL) of my newly created site/subdomain (from MySites->NetworkAdmin->Sites, then dashboard link), "http://www.technology.americanthought.org/wp-admin/" I get ...
Nivo Slider working on static HTML site but not on WP based site
I'm converting a static HTML site to Wordpress for a client and I'm having a problem getting the Nivo slider to work. It works perfectly on the HTML version as can be seen here but on the Wordpress version seen here it doesn't seem to show any of the images. The Wordpress version's script is registering as it's applying some styles to the .slider e...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.