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.

jtuds

Members
  • Joined

  • Last visited

  1. First thing I noticed was that you need a hint that your homepage is scrollable. Unless you notice the vertical scrollbar on the browser it looks like there is no more content than what you initially see. It only has to be an arrow or move the text up a bit etc.
  2.    hodephdesign reacted to a post in a topic: What do you think of my website?
  3. jtuds posted a topic in Frontend
    I've recently started gearing my code more towards SMACSS and OOCSS but in doing so it's opened up a can of worms. I've had all kinds of ideas on how best to structure CSS and CSS related HTML. For example I've started using a lot more classes to isolate different elements for a) potential reuse and b.) avoidance of potential clashes with other elements, e.g. using one class for many elements is eventually going to force you to overwrite that class whereas having specific classes means you give each element its' own styling. I'm currently thinking about devoting a section of my CSS purely to any structural element that could potentially be reused. So instead of a promotion box layout and styling going under a page section it would simply go under something like /* Promo box A */ so that the tags could simply be reused not only across a specific site but any site in the future. Anyway to my point, I wondered if anyone else was thinking along these lines or if anyone has any other interesting/useful ways to structure CSS?
  4. I think you need a sidebar plugin to deal with all that functionality. In the default WP theme the plugin has the categories, previous posts etc and you call it with get_sidebar but starkers doesn't have this. I would search for a plugin that deals with what you need and follow the instructions on how to call it. What you're basically after is pre made code that deals with your needs, this code will be called in base file. That is all the sidebar, or any other part of the page is it's just with default WP the sidebar provides certain functions. On a related note, but separate from this particular situation, you call sidebar.php with a PHP include. You can do this with any file whatsoever. So in future you may create a site based on WP but has no visible WP features so you might have 3/4 of the page for main content and a bit on the right for let's say social buttons. You would have <div class="main-content">loop code to fetch WP editable content</div> <div class="social"><?php include 'social.php' ?></div>. All social.php is, is a load of HTML but when you have lots of different components to a site and some are consistent it's useful to separate them into small individual files and include them when needed.
  5. Don't take this as certain because I'm not but I think widgets link into Wordpress which means you need to use code that corresponds. If you just use an include to fetch the sidebar which could be anything from ads.php to righthandside.php and you fill that file with HTML then WP won't do anything with it other than simply fetch the file. To use WP functionality there has to be some code in the PHP file that WP can work with, I think this is where the default WP sidebar comes into play. Starkers won't come with a sidebar I don't think. You might have to find a plugin to give you the functionality you want.
  6. Best thing to do is don't think of Wordpress as a concrete structure, it's very flexible. The get functions just fetch files that are defined in the WP settings (possibly function.php not sure though) so in theory I could change the settings so that get_sidebar fetches the file "nonsense.php". All you're doing is inserting different bits of code in certain parts of the site by pulling in files. You can use PHP includes alongside the default WP functions so you could fetch a file called pre-footer.php for example and use an include to fetch that. In your page, which could be index.php or 2col.php etc you just include pre-footer.php where you want it to appear in the HTML. It's basically a big jigsaw, you're putting files into slots to make it all work as one. Having the files separate just makes things easier in the long run, you could in theory have a static site like, index.php, page1.php etc and just have specific HTML in each page, obviously this defeats the purpose but I'm just trying to get across that you don't have to think of WP as being rigid, don't be afraid to break it. EDIT: You're 100% correct about the 2 col and having the loop in one bit and the sidebar in the other. Your file would look something like; <div class="left-col>the loop</div> <div class="right-col>get_sidebar (or use an include if you wish, for example you could get "ads.php")</div.
  7. You need more base files. Typically I use; head.php (<head> stuff), header.php (actual header/banner), nav.php, home.php/2col.php (depends on the page design and I have as many of these as I need with relevant filenames), footer.php, (I rarely use a sidebar but you can use sidebar.php). That isn't concrete, you can use get header, get sidebar etc I just prefer to use includes. Basically you need more files. WP should automatically load home.php if it exists so use that as your base then for different pages use a different file, e.g. 2col.php and define this as a template on the WP page edit admin. Hope this kind of makes sense.
  8. By coding the HTML/CSS. There's no shortcut unless you pay somebody to do it for you.
  9. It looks much better. I'd add some more white space between the boxes, they still seem too close together. Align the green links. Give the text in the top 3 boxes some bottom padding. The phone number in the logo looks cheap.
  10. I wouldn't buy from that site. Can't really evaluate it though with it being just an image.
  11. Huge improvement but still room for lots more. What I would do is; make each case study in that slider full width, 100% get rid of that graphic with the keywords in different colours, make your blurb a little bit more concise and give the containing box a nice colour, make the 6 boxes you have below the main blurb all half the container width so you have a 2x2 grid and again give each a colour. In regards to what I mean by colour I would take influence from your nav (which I really like) and chose a vibrant colour but not that same green.
  12. There isn't a simple code change or anything you can do to improve the display at all resolutions unfortunately. You will need to look into it and probably recode the site for the best results or at least do some changes. Resolution can be solved by text and CSS wherever possible, these won't lose quality like images. Images are a problem area, there is a few approaches to solving this issue such as loading different images depending on resolution. You would be best looking into responsive images for this. Which leads into your other question about browser resizing. To do this you need to apply responsive design techniques such as percentages and max-width which will allow the browser to decide how to display the page depending on the window size.
  13. For the nature of the site, there's far too much information. I am not drawn to anything inparticular and as a result I'm not really drawn to anything at all. Do you really need the right sidebar? The blurb? I would use your pages for the content they relate to rather than trying to get it all into one.
  14. Just my opinion but if you're advertising yourself as a front end developer with skills in accessibility, typography and layout whilst hardly showcasing any of these on your portfolio you are not showing any of these skills to the potential employer. I can see you have good design skills but I certainly can't tell if you have good developer skills. I think you should use your portfolio more to your advantage. On a less general note, the logo needs to link back to the first image. I got about 5 images in and wanted to go back but I had to either click back through or refresh to do so.
  15. Brilliant, useful for me personally as well. Bookmarked!
  16. A better display font would work wonders. The body font is fine though.

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.