Home» Forum» Web & Tech» not able to overwrite .myspace-header .top-nav .right in Layout

not able to overwrite .myspace-header .top-nav .right in Layout

Back to Web & Tech

So I had coded the .myspace-header .top-nav .right section to adjust to flex-end sothat my banner is visible, but it's not working. Web dev (Fn F12) tells me that the section has been overwritten already in Layout (which is visible because it shows profile.php as source) buut even if I delete the code segment out of my Layout box it still shows that something in this section is written into the Layout. What should i do? 

"I've never had a sign above my head saying 'walk all over me' "- Sandy Mölling, 2004

try using the selector ".myspace-header .right" instead of ".myspace-header .top-nav .right", and add !important to the end of your property to try and force the change.. example: ".myspace-header .right {justify-content:flex-end!important}".. i love how your layout is turning out !

Tryin to make a change :-\
da wrote:
try using the selector ".myspace-header .right" instead of ".myspace-header .top-nav .right", and add !important to the end of your property to try and force the change.. example: ".myspace-header .right {justify-content:flex-end!important}".. i love how your layout is turning out !

OMG you legend. It did indeed work and I will put an !important on front of my stuff from now on. Thanks so much for the compliment on my layout, it's still not "pimped" to my liking yet but I'm not stressing it! Thx so much!

"I've never had a sign above my head saying 'walk all over me' "- Sandy Mölling, 2004

@seas_world I'm glad it worked! using !important is my favourite cheat when the code is not paying attention to me haha!! so glad I could help you! 

Tryin to make a change :-\

You must be logged in to reply.