Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Editing the Archive title (http://forum.bytesforall.com/showthread.php?t=266)

pushkinpassey Feb 7, 2009 10:41 AM

Editing the Archive title
 
Hi!
Firstly, an excellent theme. It really made my life easy!
I search the forum before posting and I just can't seem to find a thread relating to my query.

I am designing my school's first year website, (http://www.aafys.net) and I can't seem to find how to edit the text "Archive for the ‘Notices’ Category" when I click on Class Notices on top.

I want it say just "Notices" ie: the category name, and not "Archive for the....category".

It's exactly like the following problem, except this guy was able to edit the archives.php file but your theme doesn't seem to have any such file!
http://wordpress.org/support/topic/222227?replies=3

Would really appreciate your help!

Flynn Feb 7, 2009 11:32 AM

Are you using the page2cat plugin? Because Atahualpa doesn't output that. If you're using that plugin put a hash # sign in front of line 813
PHP Code:

# echo '<h2 class="pagetitle">Archive for the ‘'.single_cat_title('',false).'’ Category</h2>'; 

in page2cat.php

pushkinpassey Feb 7, 2009 12:26 PM

Thank you Flynn! :-) It's working now!

sarge Nov 25, 2009 07:57 PM

Quote:

Originally Posted by Flynn (Post 999)
Are you using the page2cat plugin? Because Atahualpa doesn't output that. If you're using that plugin put a hash # sign in front of line 813
PHP Code:

# echo '<h2 class="pagetitle">Archive for the ‘'.single_cat_title('',false).'’ Category</h2>'; 

in page2cat.php

How would I go about changing the color of the font for this? I have a black background and the font used is black?

juggledad Nov 26, 2009 05:38 AM

try
HTML Code:

. pagetitle h2 {
color: #FFFFFF;
}


sarge Nov 26, 2009 09:44 AM

Quote:

Originally Posted by juggledad (Post 19633)
try
HTML Code:

. pagetitle h2 {
color: #FFFFFF;
}


I tried a lot of different locations for the code you posted and it did not work for me. Where would I place the code you posted in this:

HTML Code:

        }
        break;
       
       
        endswitch;
       
        ?>
        <?php
        else:
        echo '<h2 class= "pagetitle">Archive for the ‘'.single_cat_title('',false).'’ Category</h2>';       
        endif;
}


juggledad Nov 26, 2009 10:06 AM

Put it in CSS Inserts i.e. ATO->Add HTML/CSS Inserts->CSS Inserts

Zona Feb 6, 2010 09:19 PM

Related problem I think....

How do I make changes to the titles in an archive page?

I would like to change the font, size, and color.

The titles now appear as "Archive by Month" and "Archive by Category"

Zona Feb 18, 2010 01:20 AM

I still haven't figured this out :confused:

Does anyone know how to reformat the titles that appear when you create an archive page? I'm trying to change font type, size and color.

juggledad Feb 22, 2010 09:06 AM

use a css insert
HTML Code:

.archives-page h3{
color: red;
}

you can add any other text rules you want

Zona Mar 8, 2010 11:07 PM

Thanks this worked perfectly. I also used your info to change the size of the title with this:

.archives-page h3{
font-size: 1.2em;
}

Is there code for CSS inserts that will center the info on the page? I wasn't able to figure that one out.

juggledad Mar 9, 2010 04:51 AM

take a look at the text-align option of CSS (http://www.w3schools.com/CSS/pr_text_text-align.asp)


All times are GMT -6. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.