Small problem with classes

pumpkyn

Well-known member
Trusted Uploader
Mar 11, 2019
394
522
93
Hey, im not a tech savy and i've found something not being able to fix.

Check the image please.

9412

I want to remove that class specifically from there. How can i do that? I believe i have to make somekind of function on function.php on the theme, yes?

Can't figure it out so i would appreciate the help in advance. Thanks
 

haksxsx

Well-known member
Trusted Seller
Trusted Uploader
Dec 21, 2018
901
889
93
Internet
well you could take your question on stackoverflow if you haven't found a solution they will be able to help.
 

pumpkyn

Well-known member
Trusted Uploader
Mar 11, 2019
394
522
93
well you could take your question on stackoverflow if you haven't found a solution they will be able to help.
sometimes i try, but im so weak at coding that when they ask what i've tried and my only answer is like "i deleted stuff on chrome inspector and it worked but can't manage to code it" :)
 
  • Haha
Reactions: haksxsx

ahmadaraj

Member
Apr 7, 2019
50
43
18
which theme you are using? and why you want to remove ??

you can find this class in header.php
 

pumpkyn

Well-known member
Trusted Uploader
Mar 11, 2019
394
522
93
which theme you are using? and why you want to remove ??

you can find this class in header.php
Thans A. Im using flatsome and i want the header bottom menu to be "space-between" till the edges so i need to be able to remove that flex-center.
 

dotcom

Active member
Dec 31, 2018
164
108
43
Localhost
techoclock.com
Hey, im not a tech savy and i've found something not being able to fix.

Check the image please.

9412

I want to remove that class specifically from there. How can i do that? I believe i have to make somekind of function on function.php on the theme, yes?

Can't figure it out so i would appreciate the help in advance. Thanks

You could remove it with a small JS code:

document.querySelector(".flex-col").classList.remove("flex-center");

You can find a space to input the above JS code in your theme options, if it has one.
I hope that helps.
 

ahmadaraj

Member
Apr 7, 2019
50
43
18
You could remove it with a small JS code:

document.querySelector(".flex-col").classList.remove("flex-center");

You can find a space to input the above JS code in your theme options, if it has one.
I hope that helps.

in this case, will remove all Flex-center form all the theme if somewhere else
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu