go41

Re: Modify Arthemia WP Theme :: Reply by f-t-cat

von Joern am 1. Nov. 2010 | Keine Kommentare

to move the category bar up you have to edit index.php in your arthemia theme folder.
It looks now something like this:

Code:

<?php get_header(); ?>

   <?php if(!is_paged()) { ?>

   <div id="top" class="clearfloat">

      <div id="headline">
here is a lot of stuff for headline
........
      </div>

   <div id="featured">
here is the featured stuff
........
   </div>

</div>   

   <div id="middle" class="clearfloat">
!!! here is everything you have to move up !!!
....
   </div>

   <?php } ?>

   <div id="bottom" class="clearfloat">
above you see: if(!is_paged()) -> means all that things will show only on front page, end of this 'is not paged' is just before <div id="bottom" ...
MAKE A BACKUP OF YOUR INDEX.PHP FIRST!!

now copy all between and including <div id="middle"... till ...</div>,

<div id="middle" class="clearfloat">
!!! here is everything you have to move up !!!
....
   </div>

copy it and paste everything you copied just below the line 3, <?php if(!is_paged()) { ?>
you could look at your site now, refresh the browser, and you should see a new second category above headline and featured.
Now delete the lines you copied and pasted to the top. You might CUT and PASTE, but do not loose stuff, better is copying and deleting later.
If you do not like the distance between navbar and you moved category bar, you have to edit your style.css (line 318ff) for #middle to these values:

Code:

#middle {
background:none repeat scroll 0 0 #FFFFFF;
float:right;
margin:0 0 10px;
padding:10px;
width:920px;
}

to show this category bar also on page two etc just paste it above line 3, <?php if(!is_paged()) { ?>
The add above nav bar:
Edit header.php, look in the lower part of this file for a line:

<div id="navbar" class="clearfloat">
your add-code should be inserted just above this line.

Best to create a new div like

<div class="headadd">
YOUR CODE HERE
</div>
putting the code in a div gives you the chance to set a width and height and also let the add move to the center of this space.

That’s done by adding in style.css something like
.headadd {

text-align:center;

width:960px;

}
hope it helps..

(von: f-t-cat)

Hier noch 2 weitere Ergebnisse dieses Threads:

Modify Arthemia WP Theme

1. Nov. 2010 (von: ambermck)

Hi everyone!I recently installed Arthemia on my WP site, and need to make a couple of changes. Can anyone help with this:1.) How do I move the category bar up so that it is below the nav bar? I have…

Re: Modify Arthemia WP Theme :: Reply by f-t-cat

1. Nov. 2010 (von: f-t-cat)

I just realize that your site is loading quite slow, minimum 10 seconds, sometimes 25 seconds or more.On frontpage you load the addtoany script more than 10 times, to put this on single file with the full content of that…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: