By Broehling on Saturday, 08 February 2020
Replies 7
Likes 0
Views 749
Votes 0
Hello,
I put the following code into custom.css but my page doesn't take it.

/*
Document : jevcustom
Created on : 22-Apr-2013, 14:12:51
Author : Tony Partridge - GWE Systems Ltd
Description: To allow customisation of CSS Strings where they can never be lost.
Purpose of the stylesheet follows.
*/

.h2 .contentheading {
margin-left: 40px !important;
}

what's wrong?
You need to use:


h2.contentheading {
margin-left: 40px !important;
}


. is only for classes, # for id's and empty for the element.

Many thanks
Tony
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

We would need to see your site but change:

.h2 .contentheading {

to

.h2.contentheading {

Does that work?
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
no, it doesn't.

I want to set a margin-left: 40px; to the calendar "Termine" and "Weiterbildung"
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I changed it to your solution. it still doesn't work.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
It does, you need to clear your cache first as the file will be cached in your browser. The title now has a 40px padding to the left.
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
yes, hot! clearing the cache did work. caching is the most obsolete fragment of the past and with today's fast connections should be obsolete.

thank you!
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Great to hear, thanks for confirming!
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post