Forum Replies Created

Viewing 15 replies - 361 through 375 (of 801 total)
  • Hi @junooni,

    Welcome to Storefront and dipping your toes into some coding!

    To help me understand, when you are uploading a header image you are using this area of the Customize > Header.


    Link to image: https://cld.wthms.co/R6RR7K

    If that is the area you are uploading an image, that is the expected behavior as it is title Header background image. 🙂

    BUT, we can still try to figure out a way to accomplish what you are after. If I understand correctly you are wanting to insert an image above the navigation menu. Is this more like a logo for the site than a header image? If that’s the case try the Site Identity section of the customizer instead.


    Link to image: https://cld.wthms.co/mkA0du

    Hi @digitljaved,

    That seems like something in the child theme is causing issues, but I also see that Storefront is pretty out of date.

    Your version is 2.2.4 and the lastest version is 2.5.0. 🙂

    Nonetheless, the problem you mentioned…

    The product filtering by capacity doesn’t work for this category for some reason. The same site and files are on 3 other servers and it works fine, the site is on Cloudways and the filtering by capacity on the page in question does not work. I’m at loss in how I can resolve this problem.

    Just to clarify, looking at the URL you shared you are saying you aren’t able to use these two dropdowns? I ask as I was able change the options in those two dropdowns?


    Link to image: https://cld.wthms.co/RB9wgo

    Hi @el-pablo,

    Ah ok, let me take another try at this. It may eventually be helpful if you can take a screen recording of your iPad to show me what you are seeing.

    Here is what I think I understand currently. If you actually tap the WEBSHOP text highlighted in the box in screenshot below that takes you to your shop page. Then if you tap the arrow toggle, that will actually open the submenu. What you want though is to tap WEBSHOP and see the submenu instead of going to the shop page, right?


    Link to image: https://cld.wthms.co/xUM5MH

    If you can confirm if I understand this time, we’ll look for solutions! 😛

    Hi @katherinemasters,

    Thanks for the clarification, I don’t think you need to (or want you to) switch from Elementor to using the block editor if Elementor is working for you!

    When you are editing that page, does it happen to give you a section that looks like this? In the Document settings there is a Page Attributes section that lets you choose a template. I ask because I’ve recreated my own homepage in Storefront using blocks, and when I use the Full width template and set it as my front page in WordPress the page title is hidden automatically for me.


    Link to image: https://cld.wthms.co/nYkNMl

    BACKEND:
    Backend
    Link to image: https://cld.wthms.co/hwAp1C

    FRONTEND:
    Frontend
    Link to image: https://cld.wthms.co/Ofhpda

    Perhaps Elementor takes over any of those options, but I was just hoping that we could get the same thing to happen. Regardless of that I think there is a slight CSS issue with the main cover image (not sure what Elementor calls it). Here are some tweaks to that in addition to removing the page title on the home page only.

    
    .home .entry-header {
        display: none;
    }
    
    .home.page:not(.page-template-template-homepage) .site-header {
        margin-bottom: 0;
    }
    
    @media (min-width:768px) {
      .elementor-section.elementor-section-height-full {
        height: auto;
      }
    }
    

    Try that out to see if that was more what you had in mind.

    @katherinemasters,

    Happy to help, have a great day. 🙂

    Hi @strictlyonlinebiz,

    Happy to help! 🙂

    Hi @nopewhy,

    Thanks for reporting this here and worrying about etiquette. Normally any suspected bugs would be welcomed via GitHub, but any avenue that helps you report it we will take! 😛

    Nonetheless, onto the suspected bug here. At the moment I’m not able to replicate it. I’m using Browserstack to use Edge, and I’ve tested two different sites using Storefront. Here is what I see on all Add to Cart or buttons with white text.


    Link to image: https://cld.wthms.co/ubAuIe


    Link to image: https://cld.wthms.co/XN3iMF

    Would you be able to replicate this still and if so send screenshots here? It may seem like initially it could only be your browser acting up, and maybe there is an explanation for that.

    Hi @mariofrancoz,

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    One other thing that may help as well is looking for any clues in the fatal errors log files. You can find those under WooCommerce > Status > Logs. There in the dropdown find the latest fatal errors log and view it. If you see anything there feel free to copy and paste it here in a reply as well.

    Hi @xsjado,

    As @neookano posted, that snippet should work out just fine to first remove the post meta from showing before the post title to then adding it back after the psot title. 🙂

    If I could nitpick at all, I’d only clean up the snippet to add a few comments, reorder one line, and set the priority that adds the action back to a later number instead of both running at the same priority.

    // Removes the post meta from before post title
    function remove_storefront_post_meta() {
    	remove_action( 'storefront_post_header_before', 'storefront_post_meta', 10 );
    }
    
    add_action( 'init', 'remove_storefront_post_meta', 10 );
    
    // Re-adds post meta to after post title
    add_action( 'storefront_post_header_after', 'storefront_post_meta', 15 );

    Either way definitely works! Thanks a ton @neookano!

    • This reply was modified 6 years, 11 months ago by Ryan Ray.
    • This reply was modified 6 years, 11 months ago by Ryan Ray.

    Hi there @ace90v1,

    Looking at that product page I currently see the sticky add to cart working, had you perhaps figured this out?

    sticky add to cart
    Link to image: https://cld.wthms.co/mLzeUy

    Hi @pantsman28,

    Firstly, what framework does Storefront use?

    I’m not 100% sure what you mean by that? If it helps clarify, Storefront was built/started off of the Underscores theme. It has changed plenty though from what is essentially a starter framework to build from with Underscores.

    Nonetheless, regarding a grid framework Storefront uses something called Susy to help create it’s layout/grid system. Perhaps that’s what you were wondering about?

    Either way, as you’ve started doing your best bet is to use a plugin that adds a block to let you create columns as needed in your posts and pages. Maybe you’d already tried it, but there is a default column block. I was able to create 4 and 8 column areas with it.

    column block
    Link to image: https://cld.wthms.co/rap5J0

    Hi @strictlyonlinebiz,

    It is definitely possible to tweak the widths between the main column and sidebar. There is a general container div with the class .col-full. This gets a calculated property (based on the number of columns and their width), but to make things simpler the max width it allows is max-width: 66.4989378333em;. If you wanted to make that wider you’ll want to first change that width, try something like 80em.

    Beyond that the .col-full div has the primary content area and the secondary widget area within it. You can then adjust your width of each of these divs in a percentage based calculation that eventually adds up to 100% in the end.

    These are again calculated with some fun SCSS formulas, but they are currently as follows if your sidebar is on the right side of the site.

    @media (min-width: 768px) {
    
      .right-sidebar .content-area {
          width: 73.9130434783%;
          margin-right: 4.347826087%;
      }
    
      .right-sidebar .widget-area {
          width: 21.7391304348%;
          margin-right: 0;
      }
    
    }

    Just to confirm that does all add up, 73.9130434783% + 4.347826087% + 21.7391304348% = 100%

    So for what you are after you’ll want to make the .right-sidebar .content-area width a little smaller. Then increase your .right-sidebar .widget-area appropriately. For example, this would make the sidebar wider and main content a little thinner and add up to 100%.

    @media (min-width: 768px) {
    
      .right-sidebar .content-area {
            width: 70%;
            margin-right: 3%;
      }
    
      .right-sidebar .widget-area {
          width: 27%;
          margin-right: 0;
      }
    
    }

    Here is a before & after for how that looks.

    BEFORE:
    Before width change
    Link to image: https://cld.wthms.co/hJUNjM

    AFTER:
    After width change
    Link to image: https://cld.wthms.co/RTlKTK

    • This reply was modified 6 years, 11 months ago by Ryan Ray.
    • This reply was modified 6 years, 11 months ago by Ryan Ray.
    • This reply was modified 6 years, 11 months ago by Ryan Ray.
    • This reply was modified 6 years, 11 months ago by Ryan Ray.

    Hi @katherinemasters,

    Removing the “a” part of your CSS selector will get the entire text. So it should look like the CSS below.

    .site-info {
        display: none;
    }

    Alternatively, instead of hiding it via CSS, you can use a little PHP filter to remove the action that adds the footer credit. If you don’t have a custom child theme or a current way to add PHP to your site I’d recommend a plugin called Code Snippets to add CSS to your site.

    add_filter('storefront_credit_link', '__return_false');

    Hi there @katherinemasters,

    I think I see what you are talking about, I see the page title “Home” when resizing my browser window.

    Can you first tell me how you’ve built the homepage? I ask as I have a page using the full-width template and blocks via the new block editor. I then don’t have the same issue with my page title showing. Any insight would be great, if you don’t mind sharing.

    Hi @el-pablo,

    Looking at the site I think what you are saying is that you’d like this hover menu to stay open once someone is on the webshop page?

    Open webshop menu
    Link to image: https://cld.wthms.co/KtN1oq

    This might, potentially, be possible if I’m understanding but will take some custom code either CSS and/or JavaScript. 🙂

Viewing 15 replies - 361 through 375 (of 801 total)