- This topic has 24 replies, 2 voices, and was last updated 14 years, 5 months ago by nvisibl.
-
AuthorPosts
-
June 9, 2010 at 8:23 am #1491nvisiblMember
excuse me please i’m not sure where to begin in setting this up for my theme
http://www.transformingscotland.comi’m looking to achieve a drop down menu system on all pages
i’ve activated the plugin but i’m not sure what to do next?thanks for your help
June 9, 2010 at 10:09 am #8667imported_RyanMemberThe instructions are here:
http://wordpress.org/extend/plugins/pix … tallation/June 9, 2010 at 10:28 am #8668nvisiblMemberthanks dude
June 9, 2010 at 10:36 am #8669nvisiblMembergot it… looks good
how best can i integrate it into my existing theme?
June 10, 2010 at 6:05 am #8670imported_RyanMemberThere is no way to answer that question beyond what is in the instructions, as all themes are different.
June 10, 2010 at 7:11 am #8671nvisiblMemberthanks ryan
do you mean the instruction to put within the header
<?php if ( function_exists( ‘pixopoint_menu’ ) ) {pixopoint_menu();} ?>i’ve done that and the menu appears graphically outwith my header running along the very top of the page
do you have any advice on how i can have it where my current category items are just now below the logo text within my header?
June 10, 2010 at 7:12 am #8672nvisiblMemberexcuse me, i see the part about the DIV tags… i’ll give it a go
June 10, 2010 at 7:37 am #8673nvisiblMemberhi ryan, i’ve placed the code into my header.php and the menu shows up good but needs a bit of tweaking, can you please advise?
[b:2t2eci7k]header.php[/b:2t2eci7k]
[quote:2t2eci7k]<?php if ( function_exists( ‘pixopoint_menu’ ) ) {pixopoint_menu();} ?><div id="wrapper">
<div id="container" class="container">
<div class="span-24">
<div class="span-16"><div id="pagemenucontainer">
<ul id="pagemenu">
<?php wp_page_menu(); ?>
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option(‘home’); ?>/">Home</a></li>
<!–
<?php wp_list_pages(‘depth=1&sort_column=menu_order&title_li=’ ); ?>
–>
</ul>
</div>
</div>
[/quote:2t2eci7k][b:2t2eci7k]CSS[/b:2t2eci7k]
[quote:2t2eci7k]/*
Theme Name: Amirra
Theme URL: http://newwpthemes.com/wordpress-theme/amirra/
Description: Amirra is a free premium WordPress theme with options page and supports the post thumbnails. Suitable for any niche.
Author: NewWpThemes.com
Author URI: http://newwpthemes.com/
Version: 1.0
Tags: Ads Ready, Two Columns, Right Sidebar, Fixed Width, Blogging, Options Page
*//* LAYOUT */
body {
background: #643cb1 url(images/background.png) top left repeat-x;
}#wrapper {
}#container {
margin-top: 10px;
border-top: 6px solid #f2dffb;
background: #060d11 url(images/header-background.png) top left repeat-x;
}#contentwrap {
background: url(images/contentwrap.png) top left repeat-y;
}a {
color: #a48cd0;
}a:hover {
color: #2e3a42;
}#contentwrap2 {
background: url(images/contentwrap2.png) top left repeat-y;
}/* HEADER */
#header {
height: 84px;
}#header h1 {
margin-bottom: 0px !important;
padding: 10px 0 0 10px;
font-weight: normal;
font-family: Arial, Helvetica, Sans-serif;
font-weight: bold;
text-transform: lowercase;
font-size: 46px;
}#header h1 a, #header h1 a:visited {
color: #fff;
text-decoration: none;
}#header h2 {
color: #ececeb;
padding-left: 10px;
font-size: 14px;
line-height: 14px;
font-family: Arial, Helvetica, Sans-serif;
}.logoimg {
margin: 2px 0 0 10px;
}/* NAVIGATION MENUS */
#pagemenucontainer {
height: 30px;
}#pagemenu {
height: 30px;
}#pagemenu, #pagemenu ul {
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}
#pagemenu {
margin-bottom: 1px;
}#pagemenu ul {
float: left;
list-style: none;
margin: 0px 0px 0px 0px;
padding: 0px;
}#pagemenu li {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
}#pagemenu ul li {
list-style: none;
margin: 0px;
padding: 0px;
}#pagemenu li a, #pagemenu li a:link {
color: #fff;
display: block;
margin: 0px 0 0px 6px;
padding: 8px 12px 2px 12px;
text-decoration: none;
font-weight: bold;
text-transform: lowercase;
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
text-shadow: 0 1px 0 #0a1115;
}#pagemenu li a:hover, #pagemenu li a:active{
color: #fff;
display: block;
text-decoration: none;
background: url(images/pagenav-hover.png) top center no-repeat;
}#pagemenu li.current_page_item a {
color: #fff;
text-decoration: none;
background: url(images/pagenav-hover.png) top center no-repeat;
}#pagemenu li:hover, #pagemenu li.sfhover {
position: static;
}.navcontainer {
height: 32px;
}#nav {
height: 32px;
}#nav, #nav ul {
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}
#nav {
margin-bottom: 1px;
}#nav ul {
float: left;
list-style: none;
margin: 0px 0px 0px 0px;
padding: 0px;
}#nav li {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
background: url(images/nav-separator.png) right center no-repeat;
}#nav ul li {
list-style: none;
margin: 0px;
padding: 0px;
}#nav li a, #nav li a:link {
color: #fff;
display: block;
margin: 0px 3px 0px 3px;
padding: 12px;
text-decoration: none;
font-size: 13px;
font-weight: bold;
text-transform: lowercase;
font-family: Arial, Helvetica, Sans-serif;
}#nav li a:hover, #nav li a:active {
color: #a48cd0;
display: block;
text-decoration: none;
}#nav li.current-cat a {
color:#a48cd0;
}#nav li:hover, #nav li.sfhover {
position: static;
}/* CONTENT */
#fullwidth {
float: left;
padding: 0px 5px 5px 0px;
width: 100%;
}#content {
padding: 15px 5px 15px 15px;
color: #23002e;
}pre { overflow: auto;
width: 470px;
}.post {
padding-bottom: 15px;
margin-bottom: 15px;
border-bottom: 1px solid #ddd;
}.post p {
margin-bottom: 10px;
}.title {
margin: 0 0 8px 0;
padding: 0px;
line-height: 22px;
font-size: 20px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-weight: bold;
color: #23002e;
}.title a {
text-decoration: none;
color: #23002e;
}.title a:hover {
text-decoration: none;
color: #a48cd0;
}.pagetitle {
margin-bottom: 20px;
line-height: 22px;
font-family: Verdana, Arial, Verdana;
text-decoration: underline;
}.postdate {
font-size: 13px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-style: italic;
color: #666;
}.postmeta {
font-size: 11px;
padding: 2px 4px;
font-family: Verdana, Arial, Verdana;
}.postdate img, .postmeta img {
border: none;
vertical-align: middle;
margin:2px;
}.entry {
text-align: justify;
line-height: 20px;
padding-top: 8px;
font-family: Verdana, Arial;
font-size: 14px;
}
.navigation {
padding: 10px 0;
}blockquote {
overflow: hidden;
padding-left: 9px;
font-style: italic;
color: #666;
border-left: 3px solid #CADAE7;
}.post img {
max-width: 680px;
}img.wp-smiley {
max-height: 12px;
margin: 0;
padding: 0;
border: none;
}.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}.alignleft {
float: left;
}.alignright {
float: right;
}.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}/* wp-pagenavi */
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
color: #686868 !important;
background:#dfdfdf !important;
border: 1px solid #989898 !important;
font-size: 15px !important;
padding: 4px 8px !important;
}.wp-pagenavi span.current {
color: #434343 !important;
background:#fff !important;
border: 1px solid #b6b5b5 !important;
font-size: 15px !important;
padding: 4px 8px !important;
font-weight: bold;
}.wp-pagenavi a:hover {
color: #494949 !important;
background:#dfdfdf !important;
border: 1px solid #626262 !important;
}.wp-pagenavi span.pages {
color: #676767 !important;
background:#fff !important;
border: 1px solid #b6b5b5 !important;
font-size: 15px !important;
padding: 4px 8px !important;
}.wp-pagenavi span.extend {
background:transparent !important;
font-size: 15px !important;
padding: 4px 8px !important;
color: #676767 !important;
background:#fff !important;
border: 1px solid #b6b5b5 !important;
font-weight: bold;
}/* SIDEBAR(S) */
.sidebaradbox {
margin-top: 10px;
text-align:center;
}.ad125 {
margin: 5px 13px 0px 0px;
}.sidebar {
margin: 0 1px 10px 10px;
font-size: 13px;
color: ##23002e;
}.sidebar a {
text-decoration: none;
color: #23002e;
}.sidebar a:hover {
text-decoration: underline;
color:#a48cd0;
}#search {
border: 1px solid #54616a;
height: 28px;
padding: 0;
background: #f2dffb;
text-align: right;
margin-top: 15px;
}#search input {
border: 0;
background: none;
color: #a48cd0;
}#s {
width: 220px;
padding: 4px;
margin:2px 0 0 0;
background: none;
}#topsearch #search {
margin: 6px 8px 0 0;
padding-right: 4px;
}
#topsearch #s {
width: 258px;
}.rssbox {
background: #dfe0e0;
border: 1px solid #bcbcbc;
padding: 10px;
margin: 10px 0 0 0;
}
.rssbox:hover {
border: 1px solid #9e9d9d;
}.rssbox a {
color: #747888;
text-transform: uppercase;
font-size: 12px;
font-weight: bold;
text-decoration: none;
font-family: Arial, Helvetica, Sans-serif;
}
.rssbox a:hover {
color: #0964a0;
text-decoration: underline;
}.twitterbox {
background: #dfe0e0;
border: 1px solid #bcbcbc;
padding: 10px;
margin: 10px 0 0 0;
}
.twitterbox:hover {
border: 1px solid #9e9d9d;
}.twitterbox a {
color: #747888;
text-transform: uppercase;
font-size: 12px;
font-weight: bold;
text-decoration: none;
font-family: Arial, Helvetica, Sans-serif;
}
.twitterbox a:hover {
color: #0964a0;
text-decoration: underline;
}/* Social icons */
.addthis_toolbox {
padding: 15px 0 0px 0;
text-align: center;
}
.addthis_toolbox .custom_images a
{
width: 32px;
height: 32px;
margin: 0 2px 0 2px;
padding: 0;
}.addthis_toolbox .custom_images a:hover img
{
opacity: 1;
}.addthis_toolbox .custom_images a img
{
opacity: 0.85;
}.sidebarvideo {
}
.sidebar h2 {
margin: 10px 0 0 0;
padding: 0px 0 3px 0;
text-align: left;
background: url(images/sidebar_hd_bakcgr.pnf) bottom left repeat-x;
font-size: 16px;
color: #23002e;
font-family: Arial, Helvetica, Sans-serif;
font-weight: bold;text-shadow: 0 1px 0 #fff;
}.sidebar ul {
list-style-type: none;
margin: 0px 0px 10px 0px;
padding: 0px;
}.sidebar ul li {
list-style-type: none;
margin: 0px 0px 5px 0px;
padding: 0px;
}.sidebar ul ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}.sidebar ul li li {
padding: 5px 0px 6px 4px;
margin: 0px;
background: url(images/sidebar_line.png) bottom left repeat-x;
}.sidebar ul li ul li {
background: url(images/sidebar_line.png) bottom left repeat-x;
padding: 5px 0px 6px 4px;
margin: 0;
}#wp-calendar th {
font-style: normal;
text-transform: capitalize;
color: #555;
background: none;
}
#wp-calendar caption {
padding: 2px 4px;
text-transform: uppercase; margin: 2px 0 2px 0;
background: none;
}#wp-calendar td {
color: #555;
font: normal 12px ‘Lucida Grande’, ‘Lucida Sans Unicode’, Verdana, sans-serif;
letter-spacing: normal;
padding: 2px 0;
text-align: center;
}#wp-calendar td:hover, #wp-calendar #today {
background: #ccc;
color: #555;
}#wp-calendar {
empty-cells: show;
font-size: 14px;
margin: 0;
font-weight: bold;
width: 100%;
}/* FOOTER */
#footer {
border-top: 6px solid #4caceb;
background: #060d11 url(images/header-background.png) top left repeat-x;
padding: 22px;
text-align: center;
color: #fff;
font-size: 13px;
}#footer a {
color: #fff;
}#footer a:hover {
text-decoration: none;
}#footer2 {
color: #f2dffb;
font-size: 1px;
text-align: center;
padding: 1px;
background: #f2dffb;
}
#footer2 a {
color: #f2dffb;
text-decoration: none;
}/* COMMENTS */
#comments h3 {
margin-bottom: 10px;
}#commentform input {
width: 170px;
padding: 2px;
margin: 5px 5px 1px 0;
}#commentform {
margin: 5px 10px 0 0;
}#commentform textarea {
width: 100%;
padding: 2px;
}#respond:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}#commentform #submit {
margin: 0 0 5px auto;
float: right;
}.alt {
margin: 0;
padding: 10px;
}.commentlist {
padding: 0;
text-align: justify;
}.commentlist li {
margin: 15px 0 10px;
padding: 5px 5px 10px 10px;
list-style: none;}
.commentlist li ul li {
margin-right: -5px;
margin-left: 10px;
}.commentlist p {
margin: 10px 5px 10px 0;
}
.children { padding: 0; }#commentform p {
margin: 5px 0;
}.nocomments {
text-align: center;
margin: 0;
padding: 0;
}.commentmetadata {
margin: 0;
display: block;
}.post_thumbnail {
padding: 6px;
background: #eee;
border: 1px solid #ddd;
margin: 0 10px 10px 0;
}#linkabletitlehtmlandphpwidget-5 a img {margin:15px 0 5px 0;}[/quote:2t2eci7k]
June 10, 2010 at 8:13 am #8674imported_RyanMemberIt appears to be working as expected. Is there something you are not happy with?
June 10, 2010 at 8:41 am #8675nvisiblMemberi notice the menu is duplicated both within my header and above it running along the top of the webpage? can i somehow remove the one on top?
June 10, 2010 at 8:46 am #8676imported_RyanMemberYou added the one on top via the following code:
[code:2lv8dhez]<?php if ( function_exists( ‘pixopoint_menu’ ) ) {pixopoint_menu();} ?> [/code:2lv8dhez]The other one is generated via wp_page_menu() which is added because you have the auto-theme-support box checked on the admin page.
June 10, 2010 at 8:56 am #8677nvisiblMemberexcellent, good job ryan.. and thanks
would you have an idea how i could place the menu beneath my logo, where the categories are currently? so to swap placement of the menu and categories
June 10, 2010 at 9:18 am #8678imported_RyanMemberJust replace the existing menu you have there with pixopoint_menu() and it should automatically appear.
June 10, 2010 at 9:26 am #8679nvisiblMembersuper!
June 10, 2010 at 9:31 am #8680nvisiblMemberi notice when i add a new page in wordpress it doesn’t sit right within the menu… you’ll see what mean with the ‘events’ page i’ve just added. can you give any insight please?
http://www.transformingscotland.com
i just notice too using firefox that the site page and menu is completely misaligned
i don’t think i can fix this…… can this be resolved easily or is there lots of work and troubleshooting required? -
AuthorPosts
- You must be logged in to reply to this topic.