LvnLife
(Ryan G)
August 19, 2015, 5:18pm
1
My developer is asking for a class that has this
Can you also add `margin: 10px auto !important;
I’m not to sure how were I can find this, is there anyway I can go into the class code and tweak this?
If not, how could I get this auto !important; in the css?
thanks
Arthur
(Arthur James)
August 19, 2015, 5:36pm
2
as far as I know you can’t do that directly in the designer, you could find a work around for the !important using another class I think but it’s not ideal… otherwise if you give the div a specific class, then go into the site settings, click “custom code”:
and paste the following code in replacing “
#class-of-div ” with whatever you have classed your div it should work:
< style > #class-of-div {
margin: 10px auto !important
} </ style >
(you have to remove the spaces between the “<”,“>” and the “style” (inability to use forum))
Let me know if that works,
Arthur
1 Like
system
(system)
Closed
October 19, 2015, 2:36pm
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.