TN,
Quick question; if I have a text block, and add an extra class name, e.g. lead, how would I call up that class in the CSS? I've tried adding the following in the custom CSS code block in salient opinions, with no luck.
.lead {
line-height: 59px;
}
and
lead {
line-height: 59px;
}
Am I using this function incorrectly?
Cheers,
Peter
hi, i am trying to put margin-bottom: 35px {display: none; } this is for image which automaticly inserts a margin of 35px. i want to create :
IMAGE CONTAINER TEXT CONTAINER IMAGE CONTAINER TEXT CONTAINER
I don't want any margins between image and text so why margin-bottom: 35px {display: none; } for image doesn't work?
I also want to add padding 20px padding-left and right for the text. how would i got about it. if you answer my first question i should know 2nd answer to so they both related. thanks
Ooops, this should have been made public, appologies!
Hey Peter!
The css would be:
or
if that doesn't work :)
Cheers!
Works a charm, thanks for explaining!
hi, i am trying to put margin-bottom: 35px {display: none; } this is for image which automaticly inserts a margin of 35px. i want to create :
IMAGE CONTAINER
TEXT CONTAINER
IMAGE CONTAINER
TEXT CONTAINER
I don't want any margins between image and text so why margin-bottom: 35px {display: none; } for image doesn't work?
I also want to add padding 20px padding-left and right for the text. how would i got about it. if you answer my first question i should know 2nd answer to so they both related. thanks
i fixed it so i though i will share with others if they need it:
in CSS panel i put
.no-margin-bottom {margin-bottom: 0px!important;}
in extra class name i put
no-margin-bottom
Hey Jonas! Thanks for sharing your fix :)
Cheers