Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Page-center command not working


  #1  
Old Apr 19, 2012, 06:25 PM
theadventurebite
 
136 posts · May 2010
Trying to figure out why page-center command is not working.

Code:
ul.rMenu ul  {background:transparent !important;}

/* removing the default top padding of td#middle of "classic" Atahualpa, 
and putting some more padding-bottom here, for more margin above the footer */
td#middle {
padding: 0 0 15px 0;
}

div.searchbox {
position: absolute;
top: 95px;
right: 20px;
}

div.searchbox-form {
margin: 5px 0 15px 5px;
}
div#menu1 ul.rMenu {
background: #000000;
width: 930px;
border: none;
}
#menu1 {
    border: 1px solid black !important;
    border-radius: 5px;
    margin-top: 5px;
}
div#imagecontainer {
margin: 5px 0; 
border: none;
-moz-border-radius:10px;
-khtml-border-radius: 10px;
-webkit-border-radius:10px;
border-radius: 10px;
}
div.widget ul li {
padding: 1px 5px 1px 12px !important;
background: url('<?php bloginfo('template_directory'); ?>/images/bullets/round-gray.gif') no-repeat 0 7px;
}

/* Menu Bars */

div#menu2 ul.rMenu {
-moz-border-radius:5px;
-khtml-border-radius: 50px;
-webkit-border-radius:5px;
border-radius: 3px;
padding: 5px;
margin: 5px 0;
}
div#menu2 ul.rMenu-ver {
-moz-border-radius:5px;
-khtml-border-radius: 50px;
-webkit-border-radius:5px;
border-radius: 5px;
padding: 10px;
/* the background color of sub-UL's must be set here */
background: #666;
}


/* Adjustments for the menu bars, which in their default 
state have 1px borders plus -1px margins to avoid 1+1=2px 
borders between neighbor items. MARGIN-LEFT IS WHERE YOU ADJUST SPACE BETWEEN MENU ITEMS*/
ul.rMenu-hor ul, ul.rMenu-hRight ul { margin-top: 0px; }
ul.rMenu-hor li { margin-bottom: 0px; margin-top: 0px; margin-left: 30px; }
ul.rMenu-hor { padding-left: 0px; }
ul.rMenu-ver li { margin-top: 0xp; }

div#menu1 ul.rMenu li a, div#menu2 ul.rMenu li a {
padding: 6px 1px;	
}
/* Space between items of page menu bar */
div#menu1 ul.rMenu li {
margin-right: 5px;
}
/* Reset margin for 2nd+ level items */
div#menu1 ul.rMenu li li {
margin-right: 0;
}

/* round corners for menu bar items */
div#menu1 ul.rMenu li, div#menu1 ul.rMenu li a,
div#menu2 ul.rMenu li, div#menu2 ul.rMenu li a {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
/* reset 2nd+ level */
/*
div#menu1 ul.rMenu li li, div#menu1 ul.rMenu li li a,
div#menu2 ul.rMenu li li, div#menu2 ul.rMenu li li a {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
*/

/* XX comments to .... */
h3#comments {
margin: 5px 0;
padding: 10px;
background: #fff;
-moz-border-radius:10px;
-khtml-border-radius: 10px;
-webkit-border-radius:10px;
border-radius: 10px;
border: solid 1px #e5e5e5;
}

ul.commentlist {
border-top: 0;
margin: 0;
}
ul.commentlist li.thread-odd, ul.commentlist li.thread-even {
margin: 5px 0;
padding: 10px;
background: #fff;
-moz-border-radius:10px;
-khtml-border-radius: 10px;
-webkit-border-radius:10px;
border-radius: 10px;
border: solid 1px #e5e5e5;
}
site is www.theadventurebite.com

Thanks!

Dani
  #2  
Old Apr 19, 2012, 07:05 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try
HTML Code:
#bfa_page_menu {
    background-color: #000000;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 26, 2012, 05:07 PM
theadventurebite
 
136 posts · May 2010
Where should I put it?

I tried at the very beginning and after the Menu code starts and all it did was take away the rounded corners???
  #4  
Old Apr 26, 2012, 06:32 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Are you trying to center teh page menu or the contents of the page?

btw, you have an error when looking at the source of your page
HTML Code:
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 26, 2012, 07:20 PM
theadventurebite
 
136 posts · May 2010
Trying to center the menu items.

Weird about the super cache....i don't even have that plugin anymore?
  #6  
Old Apr 27, 2012, 04:17 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
In your CSS Inserts you have
HTML Code:
div#menu1 ul.rMenu {
background: #000000;
width: 930px;
border: none;
}
change it to
HTML Code:
div#menu1 ul.rMenu {
background: #000000;
border: none;
}
#bfa_page_menu {background: #000000;}
(You delete a line and add the new CSS)

Check the .htaccess file in the web root (use FTP) to see if there is code left over from super cache
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old May 3, 2012, 12:54 PM
theadventurebite
 
136 posts · May 2010
Fabulouso!

It's 99% perfect. The only issue is when I put that code in the rounded corners disappeared??

I'll play with some things but if you have any thoughts feel free to chime in!

Thanks again!

Dani

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu Problems- Page-center command theadventurebite Page & Category Menu Bars 3 Jan 14, 2012 07:54 PM
adding javascript with <body> onLoad command bcnuggs Center area post/pages 1 Aug 16, 2010 07:22 AM
[SOLVED] Accidental key command has site/theme HUGE 5thbeatle Forum How-To 2 Jun 30, 2010 04:53 PM
Google site: command showing incorrect slug zzsimonb Atahualpa 3 Wordpress theme 0 Dec 10, 2009 09:34 AM


All times are GMT -6. The time now is 05:41 PM.


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