Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Page-center command not working (http://forum.bytesforall.com/showthread.php?t=17362)

theadventurebite Apr 19, 2012 06:25 PM

Page-center command not working
 
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

juggledad Apr 19, 2012 07:05 PM

try
HTML Code:

#bfa_page_menu {
    background-color: #000000;
}


theadventurebite Apr 26, 2012 05:07 PM

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???

juggledad Apr 26, 2012 06:32 PM

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! -->

theadventurebite Apr 26, 2012 07:20 PM

Trying to center the menu items.

Weird about the super cache....i don't even have that plugin anymore?

juggledad Apr 27, 2012 04:17 AM

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

theadventurebite May 3, 2012 12:54 PM

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


All times are GMT -6. The time now is 04:24 PM.

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