Changes to iNove theme

December 13th, 2013 Leave a comment Go to comments

 

 

Remove borders in tables

In style.css, at line 504, comment

[cce_css]border:2px solid #CCC;
border-collapse:collapse;[/cce]

and at line 510 comment

[cce_css]border:1px solid #CCC;[/cce]

 

Increase space between article information and article content

In style.css, at line 469, change

[cce_css]padding:5px 0 0 5px;[/cce]

to

[cce_css]padding:25px 0 0 5px;[/cce]

 

Increase padding after h3 style

In style.css change

[cce_css]h3 {font-size:150%;}[/cce]

to

[cce_ccs]h3 {
    font-size:150%;
    padding-bottom: 5px; /* edit by Spike */
}[/cce]

 

Fix for WordPress 3.5

Open

[cce]/wp-content/themes/inove/footer.php[/cce]

and at line #22 change the line from

[cce_php]$post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970"));[/cce]

to

[cce_php]$post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970", null));[/cce]

Reference: web-pepper, xvitaly github:gist

 

Change white-space property for pre

In style.css, comment everything under the pre element and add

[cce_css]  white-space: nowrap;[/cce]

You will have an element definition like this

[cce_css]pre {
  white-space: nowrap;
}[/cce]

 

Add margins to h1

In style.css, in h1 element add

[code_css]margin: 50px 0 10px 0;[/cce]

You will have an element definition like this

[cce_css]h1 { 
  font-size:200%;
  margin: 50px 0 10px 0;
}[/cce]

 

break-word for too long names in comments

Some author long names may go under the box of the comments. To avoid this, in style.css, under

[cce].comment .name[/cce]

add

[cce_css]word-wrap: break-word;[/cce]

You will have an element definition like this

[cce_css].comment .name {
    width:67px;
    padding-right:14px;
    font-weight:bold;
    overflow:hidden;
    word-wrap: break-word;
}[/cce]

 

  1. March 23rd, 2011 at 11:16 | #1

    Hi thanks for your post, I have a problem with the tables. You see the border. I changed the lines 504 and 510 but are still watching. Could you send me the code style.ccs with this change?
    I would greatly appreciate it.

  2. March 23rd, 2011 at 11:30 | #2

    Hi David,
    I checked your style.css
    At your line #494 change

    .post .content table {
    background:#FFF;
    border:2px solid #CCC;
    border-collapse:collapse;
    margin:5px 0 10px;
    }
    .post .content th,
    .post .content td {

    border-collapse:collapse;

    text-align:left;
    vertical-align:top;
    }
    .post .content tr.even td {
    border:1px solid #CCC;

    }

    to

    .post .content table {
    background:#FFF;
    /* border:2px solid #CCC; edit by Spike */
    /* border-collapse:collapse; edit by Spike */
    margin:5px 0 10px;
    }
    .post .content th,
    .post .content td {
    /* border:1px solid #CCC; edit by Spike */
    padding:3px 10px;
    text-align:left;
    vertical-align:top;
    }
    .post .content tr.even td {
    background:#F7F7F7;
    }

  3. August 15th, 2011 at 02:45 | #3

    Hello!
    Nice post!
    If somebody needs merely to get the iNove’s sidebar smaller, just read the following article – <a href=”http://dotnetfollower.com/wordpress/2010/12/get-the-smaller-sidebar-of-inove-theme/”>http://dotnetfollower.com/wordpress/2010/12/get-the-smaller-sidebar-of-inove-theme/</a&gt;
    Thanks!

  1. January 31st, 2013 at 09:08 | #1