How to remove "-" before header and before text?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Apr 23, 2014 2:43 pm
Reply with quote
Report this post
Hi Gavick.com

How do I remove the "-" (minus) sign in front of both headers and text in K2 articles? It takes up a line. Purhaps it is ment to do that, but I don't think it is all that pleasing to my eye ;-)

You can see it in the demo on http://demo.gavick.com , when entering the blog at "John S"

Kind regards
Gert Sterner
User avatar
Senior Boarder

GK User
Wed Apr 23, 2014 3:33 pm
Reply with quote
Report this post
Please edit: /templates/gk_john_s/css/override.css and add at its end:
Code: Select all
.itemImageBlock + .itemBody:before, header + .itemBody:before {display: none;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Wed Apr 23, 2014 4:55 pm
Reply with quote
Report this post
Thanks a lot! :-) That worked!

I can still see it on the blog section on the front page, but I can live with that!

Thanks for helping!

Gert Sterner
User avatar
Senior Boarder

GK User
Thu Apr 24, 2014 10:13 am
Reply with quote
Report this post
You can fix homepage this way:
Code: Select all
.big-nav .nspImageWrapper + .nspHeader:before {
display: none;
}
User avatar
Moderator

GK User
Thu Apr 24, 2014 9:24 pm
Reply with quote
Report this post
Thanks again! :-)

That also worked!

What is the purpose of the "-" sign?

Kind regards

Gert
User avatar
Senior Boarder

GK User
Fri Apr 25, 2014 2:20 pm
Reply with quote
Report this post
The template was designed this way. Lets say it was a graphical feature ;).
User avatar
Moderator

GK User
Wed Jun 04, 2014 3:03 pm
Reply with quote
Report this post
Hello,

I've added both codes to the 'Custom CSS code' field in the Template/Advanced settings and still can't get it to change.

Can I ask a dumb question and confirm that when you say 'override' you are referring to ';Custom CSS code'. :oops:

In your earlier templates, 'override' was written 'override'

Kind regards
Drew
User avatar
Gold Boarder

GK User
Wed Jun 04, 2014 3:34 pm
Reply with quote
Report this post
There is a file:
/templates/TEMPLATE_NAME/css/override.css
you should edit (that is my personal suggestion).
User avatar
Moderator

GK User
Thu Jun 05, 2014 12:31 am
Reply with quote
Report this post
Got it! thanks
I understand that the css overrides are now edited best in the actual file ( a little different to the way we did it before)

Thanks.
User avatar
Gold Boarder

GK User
Thu Jun 05, 2014 7:35 pm
Reply with quote
Report this post
Editing actual file allows us to verify it much easier than with "texfield" in admin. Also more advanced FE developers take advantage of code indenting, colouring (in theirs IDE) etc.
User avatar
Moderator

GK User
Fri Jun 06, 2014 7:01 pm
Reply with quote
Report this post
Cool - good to know, thanks for the helpful information. :)
User avatar
Gold Boarder

GK User
Mon Jun 09, 2014 3:10 pm
Reply with quote
Report this post
No problem :).
User avatar
Moderator


cron