Saturday, 08 February 2020
  7 Replies
  1K 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?
Monday, 10 February 2020 13:15
·
#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!

Monday, 10 February 2020 12:59
·
#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!

Monday, 10 February 2020 13:08
·
#214935
0
Votes
Undo
no, it doesn't.

I want to set a margin-left: 40px; to the calendar "Termine" and "Weiterbildung"
Monday, 10 February 2020 13:15
·
#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!

Monday, 10 February 2020 13:18
·
#214941
0
Votes
Undo
I changed it to your solution. it still doesn't work.
Monday, 10 February 2020 13:19
·
#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!

Monday, 10 February 2020 13:29
·
#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!
Monday, 10 February 2020 15:12
·
#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.