Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jack

Privileged
  • Joined

  • Last visited

Solutions

  1. Jack's post in problem with clearfix was marked as the answer   
    Sort of. Your parent div with a width of 100% is likely in the center, but you just can't see it because it spans full width. It won't center the child items automatically, the way this is usually done is to wrap them in a smaller container like in my example above. If you want the text to be centered inside of that, you can use text-align. I've updated my example here to show how that works https://codepen.io/anon/pen/JyKoxv.
  2. Jack's post in jQuery & Radio Buttons was marked as the answer   
    I've changed your HTML slightly to add a class. I would recommend not styling this class, but treating it as something that binds your JS and HTML.
     
    https://jsfiddle.net/g25mehjh/
  3. Jack's post in wrapping a link around a div was marked as the answer   
    Linking block elements is valid as of HTML5. That said, linking the text inside your paragraph, setting that to display block, and using padding is possibly more semantic in this case.
  4. Jack's post in Adding a Class to Article Sidebar Links was marked as the answer   
    Without being able to test anything out it's hard to say, the docs leave a lot to be desired. For example, if {{ blog.id }} is the ID of the blog entry you're on, you should be able to match it to {{ article.id }}
    {% assign currentPageId = blog.id %} <ul> {% for article in blog.articles limit:20 %} <li>{{ article.id }} - {{ currentPageId }}</li> {% endfor %} </ul> Otherwise, you could probably grab the current article ID, loop through a list of all articles and find one that matches.
    {% assign currentArticleId = article.id %} <ul> {% for article in blog.articles limit:20 %} <li>{{ article.id }} - {{ currentArticleId }}</li> {% endfor %} </ul>
  5. Jack's post in More Shopify Liquid Code Advice was marked as the answer   
    Try
    {{ product.vendor | downcase | replace: ' ', '-' }}
  6. Jack's post in Shopify Liquid Code Help was marked as the answer   
    You may need to do something like this.
    {% if tag contains 'meta-related-collection-' or tag contains 'cf-' or tag contains '_' %} {% endif %} You will need to ask Shopify directly, but basically it would be nicer to pass in an array instead.
    {% assign supportedTags = ['meta-related-collection-', '-', 'cf-'] %} {% if tag in supportedTags %} content {% endif %} This code won't work, it's a mixture of a similar language called Twig, and Shopify's Liquid, but it should give you an indication to at least go back to Shopify with.
  7. Jack's post in SVG problem was marked as the answer   
    I don't this this is a CSS issue. You're missing a parameter called viewBox.
     
    At the top:
     
    <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.2" width="402" height="201.55145" id="svg2987"> Should be: <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.2" width="402" height="201.55145" viewBox="0 0 402 201.55145" id="svg2987">  
  8. Jack's post in Can't access Dashboard was marked as the answer   
    Some folders and files will require stricter permissions, so be careful not to set the whole system as 777.
     
    There's a plugin that scans your files and folders to check if they're the right permissions.
  9. Jack's post in site not working on i-phone was marked as the answer   
    Glad it worked
  10. Jack's post in Contact Form coming out Scrambled was marked as the answer   
    I would suggest removing those floats in favor for display: block; and display: inline-block;.
     
    Items in red you remove, items in green you add to your styles.

    .post .text {
    float: left;
    min-height: 80px;
    }

    .contact-form input[type=email] {
    display: block;
    }
  11. Jack's post in Not able to scroll on website was marked as the answer   
    This file > http://live.bobosh.com/selector/style.css.
    body {font:13px/20px Arial,sans-serif;color:#ccc;text-shadow:0 1px 1px rgba(0,0,0,0.4);overflow:hidden;}  
  12. Jack's post in One Page Scrolling was marked as the answer   
    Absolutely, but it can be avoided. There's a good post here about it.
  13. Jack's post in Lightbox v2.04 Old was better! was marked as the answer   
    You need to update your path to ../lightbox/images E.G ../lightbox/images/close.png
  14. Jack's post in Custom font on webpage was marked as the answer   
    It could be a number of things:
     
    Your file path is incorrect (I tend to store my fonts in a folder called 'fonts' and use the following in my stylesheet ../fonts/ instead of the website URL. Your server does not support the mime types required for @font-face (http://stackoverflow.com/questions/3594823/mime-type-for-woff-fonts as an example). You are not targeting the correct element in your CSS. Try using H1 as a selector instead of #content2 ( h1 { font-family: 'AngelinaRegular';} ). Your issue could be browser specific, have you tested in a few? Alternatively take a look at http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.