Saturday, 08 February 2020
  7 Replies
  750 Visits
0
Votes
Undo
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?
4 years ago
·
#214939
Accepted Answer
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

4 years ago
·
#214929
0
Votes
Undo
Hello,

We would need to see your site but change:

.h2 .contentheading {

to

.h2.contentheading {

Does that work?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

4 years ago
·
#214935
0
Votes
Undo
no, it doesn't.

I want to set a margin-left: 40px; to the calendar "Termine" and "Weiterbildung"
4 years ago
·
#214939
Accepted Answer
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

4 years ago
·
#214941
0
Votes
Undo
I changed it to your solution. it still doesn't work.
4 years ago
·
#214942
0
Votes
Undo
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.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

4 years ago
·
#214944
0
Votes
Undo
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
·
#214970
0
Votes
Undo
Great to hear, thanks for confirming!

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.