Kamkya
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] Need sidebar on HomepageHi, if you’re looking for a cheats way to get content on the homepage without coding:
-You can use the homepage content (editing the page home itself)
OR
-I’ve sneakily used the widget ‘footer bar’ and added text contents to it, to create some additional areas of static content on the homepage
https://www.hecanterbury.co.nz/ (it’s not finished but it will give you an idea of the below)
(My ‘need a site visit/get a trade account etc’ is one one ‘footer bar’ text block)
(And my row of brands is in another ‘footer bar’ text block) – Simply set visibility on the widgets to be to display on the homepage only if you only want them to show on the home page.So these aren’t quite a sidebar, but it’s another way of getting any content on the homepage you like
Forum: Themes and Templates
In reply to: [Storefront] Need sidebar on HomepageHi there, I had a similar thread, and James Koster (a key storefront contributor) advised me the below:
“
You mean you want a sidebar on the homepage template? Unfortunately this isn’t an option and would require some customisation.Before <?php get_footer(); ?> in template-homepage.php you’d need to add <?php do_action( ‘storefront_sidebar’ ); ?> to display the sidebar.
You’d then need to apply the appropriate css to fix the layout.”
Forum: Fixing WordPress
In reply to: Category Shortcode to show just one categoryResolved, the issue was that I was trying to show categories that weren’t top level.
Removing parent=”0″, seemed to do the job
[product_categories ids=”69, 1343″]
Forum: Themes and Templates
In reply to: [Storefront] 'Sample-Page' Sidebar in Storefront Demo SiteThank you, How do you do this or achieve the same result for the homepage? Thanks
Forum: Themes and Templates
In reply to: How do I add sidebars to pages that don't already have themThanks Jose
I have a child theme, but that article you gave me is one of the better oens that I’ve seen.
I’ve been playing with the templates in my child theme with no joy ??
In the process, I have seen that the storefront demo site, does in fact show a page (a none-shop page) with a side bar – so I’ve raised this in the Storefront forum for assistance. https://demo2.woothemes.com/storefront/sample-page/
Forum: Themes and Templates
In reply to: [Storefront] Need sidebar on HomepageHi there,
Just trying to do what was recommended by ‘wooassist’.
If I change the template to be template-homepage2, how do I ensure that my homepage calls that template and not the original template-homepage?
Cheers
KristyForum: Themes and Templates
In reply to: changing logo size in headerHi
Whilst not ideal doing it via CSS
You could simply change the logo dimensions in CSS -its currently set to 40px or so, I increased it to 77px and your logo looked much better
.site-logo img {
height: 77px;
}Hope this is of use ??
Thanks James, I thought I’d fixed it, as managed to get the cart icon back along with some others.
But recently noticed, that I haven’t quite fixed it entirely, due to the icons on my images being broken (when you click on a product image to enlarge it)
For example click on https://www.hecanterbury.co.nz/product/petzl-asap-lock-mobile-fall-arrest-device/ and then click on an image, and you will see that the exit, left and right icons are all broken
Any ideas?
Cheers again
KristyThanks James, Yeah I tried that, but the icons still aren’t showing…
@font-face {
font-family: ‘FontAwesome’;
src: url(‘fonts/fontawesome/fontawesome-webfont.eot?v=#4.1.0’);
src: url(‘fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=#4.1.0′) format(’embedded-opentype’), url(‘fonts/fontawesome/fontawesome-webfont.woff2?v=#4.1.0’) format(‘woff2’), url(‘fonts/fontawesome/fontawesome-webfont.woff?v=#4.1.0’) format(‘woff’), url(‘fonts/fontawesome/fontawesome-webfont.ttf?v=#4.1.0’) format(‘truetype’), url(‘fonts/fontawesome/fontawesome-webfont.svg?v=#4.1.0#fontawesomeregular’) format(‘svg’);
font-weight: normal;
font-style: normal; }It’s not coming through to the site when I inspect the files, perhaps it’s a cache issue.
Thanks