3 replies
  • WEB DESIGN
  • |
Hi all,

I have the following definitions in my custom.css file (for wordpress). It seems like the definition for SERVICES is obliterating on the definition for QFORM.

I am new to CSS and do not see why. Can someone point me in the right direction?

TIA
/*
----------------------------------------------------------------------------
DEFINE SERVICES
----------------------------------------------------------------------------
*/

.services {
width:100%;
/* background-color:#b0e0e6; DEBUG */
margin-top:15px;
display: inliine-flex;
}

.services ul {
width: 25%;
height: 400px;
/* background-color: pink; DEBUG */
/*
padding-left: 2%;
padding-right: 2%;
*/
margin: auto 0;
display: table-cell;
}

.services ul li {
width: 100%;
list-style-type:none;
/* display: inline-block; */
margin-bottom:2%;
}


/*
--------------------------------------------------------------------------------------------
DEFINE QFORM
--------------------------------------------------------------------------------------------
*/

.qform {
list-style-type: none;
width:100%;
background-color:#ECEBE4; /* <-keep for QFORM */
}

.qform ul {
list-style-type: none;
width:100%;
margin: auto 0;
padding-top: 20px;
}

.qform ul li {
list-style-type: none;
line-height: 30px;
display: inline-block;
bottom-margin: 2%;
}
#css #guru
  • Profile picture of the author RobinInTexas
    The page will display according to the active selector.
    Signature

    Robin



    ...Even if you're on the right track, you'll get run over if you just set there.
    {{ DiscussionBoard.errors[9155615].message }}
    • Profile picture of the author dgmufasa
      Originally Posted by RobinInTexas View Post

      The page will display according to the active selector.
      Thank you for the response!

      What does "active selector" mean? What I was trying to do was to create 2 "classes" - both of which would have the same items.
      {{ DiscussionBoard.errors[9155627].message }}
      • Profile picture of the author dgmufasa
        Hi again,

        Never mind, I figured it all out

        Cheers!
        {{ DiscussionBoard.errors[9156100].message }}

Trending Topics