Web Design Weekly #53

Headlines The Great Discontent – Yaron Schoen “One of the best pieces of advice I can give to a designer is to be well-traveled. Design is really about people; the more you understand humans, the better you will be as a designer.” An interview with Yaron Schoen who is currently the design lead at Twitter. This one is a firecracker, enjoy! (thegreatdiscontent.com) Safari 6 arrives, bringing Web Audio API to Apple’s browser (html5audio.org) What’s new in SASS and Compass (herokuapp.com) Important -prefix-free update (lea.verou.me) The new stuff in JS Bin…

Web Design Weekly #52

Headlines Shoot to kill; CSS selector intent Harry Roberts gives some very good reasons to be specific with you CSS selectors. Next time you write a line of CSS maybe it’s worth thinking carefully about why you want to target something and pick a more explicit and sensible selector; refine your selector intent. (csswizardry.com) Tweak This! Jeffrey Zeldman gives the low down on Tweaky. The new kid on the block. Love it or hate it…. I think we will be seeing a lot more of this kind of service popping…

Is moving wp-config outside the web root really beneficial?

One of the most common security best practices these days seems to be moving wp-config.php one directory higher than the vhost’s document root. I’ve never really found a good explanation for that, but I’m assuming it’s to minimize the risk of a malicious or infected script within the webroot from reading the database password. But, you still have to let WordPress access it, so you need to expand open_basedir to include the directory above the document root. Doesn’t that just defeat the entire purpose, and also potentially expose server logs,…

How to add custom css file in theme?

Some themes ask you not to edit the style.css file, instead use custom.css file. If you write code on custom.css, it will overwrite the same element style in style.css. I think this is done in order to prevent the loss of user styles on theme update, is it so? How this works? Do they already include custom.css file in their theme? But how this file is included in the theme so that he theme look for style in custom.css first? Thanks. Source: https://wordpress.stackexchange.com/feeds

Web Design Weekly #51

Headlines A complete list of all the Google I/O sessions Some many great videos that could keep you occupied for the day… The link points to talks focused around Chrome like: – Chrome Developer Tools Evolution – New Web Tools and Advanced CSS/HTML5 Features from Adobe & Google – Chrome Developer Tools Evolution – and a lot more!! (developers.google.com) The Mobile Context Users are ultimately the experts in deciding what they want to do on your site. Make it possible, make it easy, then get out of the way and…

Deleting default category in wordpress

I’m looking for a way to delete default category functionality in wordpress but after i delete the default category in wp_terms table in mysql database, it automatically assigns default category to another category. Does anyone know how to achieve this? Thank you for any help. Source: https://wordpress.stackexchange.com/feeds

Mass-unprefixing in Firefox 16

Paul Rouget: http://paulrouget.com/e/unprefixing-in-firefox-16/ In Firefox 16, we are unprefixing: CSS3 Animations CSS3 Transitions CSS3 Transforms CSS3 Gradients IndexedDB Also calc() might be unprefixed as well if time permits. The Firefox team have been working hard! Source: web design weekly

Logout redirect to home page

I’m using custom menu for login/logout here below is my code: <li> <?php if (is_user_logged_in()) { $user = wp_get_current_user(); echo ‘Welcome <strong><a href= »http://kolkataonwheelsmagazine.com/wp-admin/index.php » >’.$user->user_firstname.'</a></strong> | <a href= »http://kolkataonwheelsmagazine.com/wp-login.php?action=logout&quot; »>Logout</a>’; } else { ?> <strong><?php wp_loginout(); ?></strong> or <a href= »<?php bloginfo(‘url’) ?>/wp-login.php?action=register »> <strong>Register</strong></a> <?php }?> </li> but problem is : redirect to login page not current page… I want it should go to home page after logout. Please help me… Source: https://wordpress.stackexchange.com/feeds

iOS has a :hover problem

Nicholas C. Zakas: http://www.nczonline.net/blog/2012/07/05/ios-has-a-hover-problem So don’t believe people when they tell you that hover doesn’t exist on touch devices. At least on iOS, hover does exist and needs to be planned for accordingly. If you are using a :hover rule to show something in your interface, you may want to hide that rule when serving your page to a touch device. It might be a good idea to just completely remove all :hover rules for any experience that’s going to be served to a touch device. The touch-based world doesn’t…