Simple CSS Changes For Striking Theme

Contact: burt (AT) islandcolors (DOT) com | 415.704.1832

CSS Changes to Enhance  Striking Theme

The Striking Premium Theme by Kaptinlin is fast becoming my theme of choice.  It is no secret that I’ve been a Thesis Framework fan for many years, but I am finding more-and-more that I am recommending the Striking Theme to my SMB clients.

PREMMISS: Use Only WordPress Editor – No FTP

The goal is to do all of these changes using only the WordPress built in Theme editor. I would highly recommend making your web site future proof by following Chris Pearson’s Guide to a Custom CSS file and Function file. But, this would require us to use a FTP client and some type of editor.

Before we start adding CSS Hacks we are gong to need to do the following simple steps to setup our workspace

  • Add the class  custom to the body tag
  • Add the style.css into the header
Access the WordPress Theme Editor

Go to your WordPress Dashboard and on the left side do the following:

Appearance -> Editor
Wordpress Editor

Next, look down the right side of the Editor and find:

Theme Functions(functions.php). The functions.php file will be loaded into the editor and you should see the following

Next add the following so that the the functions.php file looks like this:

Start Using the Style.css File

Now Save the functions.php file and you are all setup to start using the style.css file for all your CSS modifications. You should see the following:

Use .custom Prefix on all CSS Changes

From now on you will always use the .custom prefix on all modifications in the style.css file. The reason behind this is CSS’ built in specificity. So if you were going to change the footer id to not display you would in the past without the custom class in the body tag use the following CSS:

Now you will always put the custom class prefix on all changes:

Child Theme Options

In June of 2011, Striking officially supported Child Themes with version 3.05.
The use of Child Themes in some instances may make more sense than the above examples.
Read this article to learn more about WordPress Child Themes to see if it makes more sense for your installation.
As for me, It is hard to teach an old dog new tricks, I would much rather use the Chris Pearson’s Custom folder trick which is an enhanced version of the above.

The Following are Simple CSS Tricks

My Logo Needs More Space on the Bottom

Amazingly, there is no need for CSS here. Use the Striking General Option panel. The adjustment for the bottom logo height solves many issue. Try it before any major changes.
Striking Theme General Options

Center My Logo

This needs a very simple CSS change. Again, use the .custom prefix if you followed the above tutorial

That is it one simple adjustment of the left margin.

Remove the Top and Bottom Feature Box Shadows

There are a number of simple ways to do this. One is to just use display:none;, but this removes the spacing. Here is a way that keeps the spacing.
Remove the Bottom shadow:

Now for the Top shadow:

Not much more too it.

Remove the Bottom Slider Shadows

For this too, there are a number of simple ways to remove this shadow. One is to just use display:none;, but this removes the spacing. Here is a way that keeps the spacing. Below well remove all the bottom shadows for all the sliders that Striking Theme has
Remove the Nivo Bottom shadow:

Remove the Kwicks Bottom shadow:

Remove the Anything Bottom shadow:

Just remember, that you can always adjust the height at the bottom using the background-image:none. If you use display:none, you do not have access to adjusting the height as the container will not be displayed. You could use visibility:hidden, but let’s keep it simple.

Center a Web Page in an iPad Every Time

Often times a web page will left justify when viewed in an iPad or mobile Safari. This can easily be corrected using the Viewport Meta tag. Add the following into your functions.php file

In the Striking Theme without this meta tag, you will see a right gap when the web page is viewed on an iPad. It acts as if the page was left justified. This quickly corrects the problem

Center the Copy Right and Footer Menus

The copy right in the Striking Theme is left justified and the footer menu is right justified. Use the following CSS to make them both center aligned. Add the extra width of 100% to both IDs just-in-case.

Fix Your Server Permission Issues

James or Websys at the Striking Theme forum wrote up an excellent article about Fixing Server Permissions
[lightbox href="http://kaptinlin.com/support/discussion/1281/server-permissions-how-to-adjust-your-hosting-if-your-settingssliders-not-working-7-april11?hl=en&tab=nw" iframe="true" width="990" height="1000"]Everything You Need to Know about Server Permissions[/lightbox]
This is a Great starting point and finishing point for that matter.

Leave a Reply

This is A Form

Contact Me

We would love to hear from you! Please fill out this form and we will get in touch with you shortly.