- February 20, 2013
- No comment
- in Code, Help
Archive for
The navigation bar often becomes an issue when creating a responsive theme. As the width of the browser window shrinks it gets harder to fit it across the top, and the text and clickable area get sm...Read More »
- February 12, 2013
- No comment
- in Code, Help
Custom Post Types
Setting up Custom Post Types | Setting up Custom Fields | Templates
Setting up Custom Post Types
I was recently asked to create a custom post type for members of an association. Each member shou...Read More »
- January 26, 2013
- No comment
- in Code
Drop Shadow with Transparency
If you use CSS3 dropshadows you can specify the color with a hex-number, but if you need a transparent shadow, use this:
box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); |
- January 26, 2013
- No comment
- in Code
Drop Shadow with Transparency
If you use CSS3 dropshadows you can specify the color with a hex-number, but if you need a transparent shadow, use this:
box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); |
- January 26, 2013
- No comment
- in Code
Drop Shadow with Transparency
If you use CSS3 dropshadows you can specify the color with a hex-number, but if you need a transparent shadow, use this:
box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); |
- January 17, 2013
- No comment
- in Code, Help
One Site, Two Themes, One Login
I have not tested this, but here is a good description of how to use two themes for a site and how to create one single login for both WordPress installations:
http://wordpress.org/support/topic/multiple-themes-one-site
- January 14, 2013
- No comment
- in Code, Help
Making Layout Easy With Box-sizing
The default CSS box model can be tricky to deal with. The 'width' of a box does not include the padding or borders. Those are actually added on to the declared width to make up the final width of what...Read More »
- December 15, 2012
- No comment
- in Code, Help
JQuery Tabs Not Working
Adding jQuery tabs to a website doesn't seem all that hard - until you run into an unexpected problem.
First you need to go to the jQuery website and find the source code on the tabs page. Make sur...Read More »
- December 15, 2012
- No comment
- in Code, Help
Is_home: Conditional for Blog Page
It is counter-intuitive, but yes, you have to use is_home if you want to refer to your blog page in a conditional - even if the blog is not in your home page.
Lets say you want to add a different ima...Read More »
- December 12, 2012
- No comment
- in Code, Help
Remove Unwanted Profile Fields
Below is the code you would use to hide unwanted Profile fields.
1 2 3 4 5 6 7 8 | add_filter('user_contactmethods','hide_profile_fields',10,1); function hide_profile_fields( $contactmethods ) { unset($contactmethods['aim']); unset($contactmethods['jabber']); unset($contactmethods['yim']); return $contactmethods; } |