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.

a_ginger_webdev

Members
  • Joined

  • Last visited

Everything posted by a_ginger_webdev

  1. Hi all Been Googling for hours but not able to figure out how to do this. Basically, every time someone accesses this page with query string: .../business-directory/?action=viewlistings I want them to be redirected to: .../business-directory/?action=viewlistings&wpbdp_sort=-rating_count I can't find how to add a query string when a particular one is found - I'm sure it has something to do with Modrewrite but I'm in no way an .htaccess expert!
  2. Evening all! My question is quite a simple one but I'm not sure how to go about it. I know how to get PHP to format a number to X number of decimal places but I want to format it to 6 whole number places. I.e. I want to parse a string from '123' to '000123', or '1234' to '001234'. I need it to add the right number of leading zeros so perhaps a strlen is a better approach? I've done the following but is there a quicker way? if (strlen($tempprice) == 1) { $fileprice = "00000" . $tempprice; }; if (strlen($tempprice) == 2) { $fileprice = "0000" . $tempprice; }; if (strlen($tempprice) == 3) { $fileprice = "000" . $tempprice; }; if (strlen($tempprice) == 4) { $fileprice = "00" . $tempprice; }; if (strlen($tempprice) == 5) { $fileprice = "0" . $tempprice; }; if (strlen($tempprice) == 6) { $fileprice = $tempprice; };
  3. Hi all I'm looking to build an infinite carousel that is manually scrolled with arrow buttons left or right. I presume this'll use the JQuery SlideTo function. Here's an example of what I'm after: http://www.balloondog.co.uk/ It needs to overflow the viewport. How would you guys go about achieving this?
  4. Could a mod please remove the site links for me? I thought I'd be able to edit them out but I can't
  5. Yes, good point - thanks! The client is of the opinion mine is fussier and more amateur than the first design yet wants to soften it up, reduce links and increase compatibility (i.e. get rid of Flash and dated Javascript) which is what I think I've achieved! Essentially, the client would like a text-less site with images only that's highly ranked in search engines I personally feel the design of the current site is a little 'dated' but it's easy to lose perspective which is why I came on here for a little objective advice!
  6. Yes, sorry, that's right. My example was to apply to a div container, etc.
  7. In answer to your question: a:link { color: #whatever; } Then do the same for a:visited, a:hover and a:active. If you only want to style a certain set of links only, and not site-wide, class them like this: .onlytheselinks a:link { ... And apply the 'onlytheselinks' class to those links.
  8. This is why I purposefully design all my sites on a standard 15" MacBook Pro, then test on a 10" netbook, an iPad, a couple of smartphones and 22" and 27" screens running different OSes and browsers. Even when you're sure you've coded something that'll look great at other resolutions, you never really know until you try it for yourself. That said, the simpler method is simply to change the resolution of your monitor as you're designing. It won't look particularly pretty but it will demonstrate how it's rendered at different resolutions.
  9. Hi all! I've been a passive member of this forum for ages but have only just got round to signing up! I'm currently working on a project to bring a site that's heavily Flash and Javascript-reliant up to date and more SEO-friendly. At the moment the focus is on the aesthetics. Currently I'm only talking about the homepage as the other pages need a lot of work. The client's current website is here: <link removed at OP's request> They asked for subtler tones and a more 'professional'-looking design, so I came up with this: <link removed at OP's request> Now please be completely honest and tell me which one you prefer. I won't take offence!

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.