![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
CSS Wordpress Help Needed Please
Hi,
I am trying to get a second navigation menu working on my wordpress blog but I am having trouble styling it. I know nothing about CSS. Basically I have this in my header.php Code:
<?php wp_nav_menu( array( 'theme_location' => 'new-menu' ) ); ?> I want them to look similar to this: ![]() This is the current css for the top Nav I presume. Code:
5.2 Menus --------------------------------------------------------------*/ .main-navigation { display: block; } .main-navigation ul { list-style: none; margin: 0; padding-left: 0; } .main-navigation li { float: left; position: relative; } .main-navigation a { display: block; text-decoration: none; } .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; position: absolute; left: -999em; z-index: 99999; } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul a { width: 200px; } .main-navigation ul ul li { } .main-navigation li:hover > a { } .main-navigation ul ul :hover > a { } .main-navigation ul ul a:hover { } .main-navigation ul li:hover > ul { left: auto; } .main-navigation ul ul li:hover > ul { left: 100%; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a { } Thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I'm a great bowler.
Industry Role:
Join Date: Nov 2003
Location: Right Outside of Normal.
Posts: 13,310
|
Why don't you just go into Appearances > Menus and edit the menus there? You can drag/drop them into sub menus, and even sub-sub-sub menus.
![]() That seems to be the most simple way to skin this cat. No need to edit CSS or PHP. Edit: Maybe I'm reading this wrong, can you upload a screen cap of the way it is now? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
I need to second navigation menu. My theme only supports one so I have had to add a second using the above code plus editing functions.php but the css isn't formatted right..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Bumping this shit up. I know 92% of you guys know how to do this.
I need a quick solution. Like tonight. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Oct 2013
Location: Canada
Posts: 866
|
Hit me up and I'll do it for you. Could be delivered today with a payment by PayPal.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Mr 1%
Industry Role:
Join Date: May 2005
Location: Nomad
Posts: 1,397
|
.main-navigation a {
display: block; text-decoration: none; change the above to the below .main-navigation a { display: inline; text-decoration: none; should work, no paypal required!
__________________
$$$$ Video Secrets $$$$ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Friends of Venus founder
Industry Role:
Join Date: Jul 2010
Posts: 1,965
|
Time to expand your skill set. ;)
__________________
Email: freedom6995 . protonmail.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Oct 2003
Location: L.A.
Posts: 5,740
|
Time to pay somebody
__________________
![]() ![]() * Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Friends of Venus founder
Industry Role:
Join Date: Jul 2010
Posts: 1,965
|
Code was correct. You fucked it up.
__________________
Email: freedom6995 . protonmail.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
Quote:
![]()
__________________
automatic exchange - paxum , bitcoin,pm, payza . daizzzy signbucks caution will black-hat black-hat your traffic ignored forever :zuzana designs
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Time to pay a coder lol.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Jun 2013
Posts: 134
|
I can help you if you create a CodePen showing the issue: CodePen - Front End Developer Playground & Code Editor in the Browser
It's hard to know what's happening without seeing the code. Or you can contact me and I'll check your theme and see what's happening! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Grrrrrrrrr
Industry Role:
Join Date: Oct 2002
Location: Dreamland
Posts: 4,974
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Offering $2 by PayPal
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Available for Coding Work
Industry Role:
Join Date: Jun 2008
Posts: 1,432
|
What do you mean by "they are in a long list"? Can you email me full info on this? Sounds like a quick fix, i'll help you out. Free of charge, you can buy yourself a beer on my behalf for those 2 bucks
![]() vlad /at/ faxite /dot/ com L.E.: You mean the menu items should be one below the other versus one next to the other? If so, add float: left; to main-navigation a. L.E. 2: Rereading, you do want it horizontal, you can try adding display: inline-block; float: left; width: auto; Best to email me your site URL if you don't want it public and i'll email you back the exact solution.
__________________
<developer> MechBunny ![]() ![]() Email: vlad [at] faxite.com Telegram: @dangerouscoding |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Quote:
If I can't sort it I will be in touch. Thanks, I can't buy myself a beer with the 2 bucks but I might be able to get a 1/2. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |