- Posts: 5
COMMUNITY FORUM
Hide or change Extra Fields header in item view
- Peter T
-
Topic Author
- Offline
- New Member
Less
More
10 years 4 months ago - 10 years 4 months ago #135897
by Peter T
Hide or change Extra Fields header in item view was created by Peter T
Hi all,
I am using K2 with template overrides on Joomla 3.3.6.
I can't seem to find a way to hide or change the Extra fields header (default text: Additional info).
I've tried to use "display:none" in the k2.css override.
I've also tired to edit item.php and even generic.php to remove it. However, it is still there.
Furthermore, I've tried the usual things: searched the forum and googled for a solution.
I would imagine that many user would like to do the same thing, so I would be grateful if someone more enlightened and skilled could help me.
I am using K2 with template overrides on Joomla 3.3.6.
I can't seem to find a way to hide or change the Extra fields header (default text: Additional info).
I've tried to use "display:none" in the k2.css override.
I've also tired to edit item.php and even generic.php to remove it. However, it is still there.
Furthermore, I've tried the usual things: searched the forum and googled for a solution.
I would imagine that many user would like to do the same thing, so I would be grateful if someone more enlightened and skilled could help me.
Last edit: 10 years 4 months ago by Peter T. Reason: spelling errors
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
10 years 4 months ago #135900
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Hide or change Extra Fields header in item view
Hi,
have you tried: div.itemExtraFields h3 {display: none;}
Regards
have you tried: div.itemExtraFields h3 {display: none;}
Regards
Please Log in or Create an account to join the conversation.
- Peter T
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 4 months ago - 10 years 4 months ago #135902
by Peter T
Replied by Peter T on topic Hide or change Extra Fields header in item view
Thanks for your answer. Sorry, I might have been unclear. I want to display the extra fields, but not the header.
Would that do it? Do you mean in k2.css override? Where in that case?
Would that do it? Do you mean in k2.css override? Where in that case?
Last edit: 10 years 4 months ago by Peter T. Reason: corrected error
Please Log in or Create an account to join the conversation.
- Peter T
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 4 months ago #135905
by Peter T
Replied by Peter T on topic Hide or change Extra Fields header in item view
I've now tried to add
div.itemExtraFields h3 {display: none;}
to my /.../templates/sitetemplate/html/com_k2/cust_template/cust_template.css
override, but it does not work.
div.itemExtraFields h3 {display: none;}
to my /.../templates/sitetemplate/html/com_k2/cust_template/cust_template.css
override, but it does not work.
Please Log in or Create an account to join the conversation.
- Peter T
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 4 months ago #135906
by Peter T
Replied by Peter T on topic Hide or change Extra Fields header in item view
I gave up trying to override with custom .css and instead added
div.itemExtraFields h3 {display: none;}
at the end of k2.css and that works. I still would like to understand if it is possible to work with custom .css in this case and if the title can be edited.
(Thanks again, Franz.).
div.itemExtraFields h3 {display: none;}
at the end of k2.css and that works. I still would like to understand if it is possible to work with custom .css in this case and if the title can be edited.
(Thanks again, Franz.).
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
10 years 4 months ago #135910
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Hide or change Extra Fields header in item view
Hi,
custom.css is located typical at /templates/your_template_name/css/ (different to your path "/.../templates/sitetemplate/html/com_k2/...", which is the path for overrides; more Information on overrides: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates).
Regards
custom.css is located typical at /templates/your_template_name/css/ (different to your path "/.../templates/sitetemplate/html/com_k2/...", which is the path for overrides; more Information on overrides: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates).
Regards
Please Log in or Create an account to join the conversation.
- Peter T
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 4 months ago #135942
by Peter T
Replied by Peter T on topic Hide or change Extra Fields header in item view
Hi,
Thanks for the heads-up. I started looking at an instruction that used the CSS4K2 plugin, only to realise that it is no longer supported. So I had a look at the developers suggestion at www.k2joom.com/blog/k2-templates-handling-custom-css
Somewhere around there I lost track of where to place the custom.css.
I now tried your suggested path, but I can see in the page source code code that the .css has not been loaded. Anyhow, it works now.
Now I just need to find out where I can change the ugly yellow colour in the extrafields table....
Thanks for the heads-up. I started looking at an instruction that used the CSS4K2 plugin, only to realise that it is no longer supported. So I had a look at the developers suggestion at www.k2joom.com/blog/k2-templates-handling-custom-css
Somewhere around there I lost track of where to place the custom.css.
I now tried your suggested path, but I can see in the page source code code that the .css has not been loaded. Anyhow, it works now.
Now I just need to find out where I can change the ugly yellow colour in the extrafields table....
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
10 years 4 months ago #135947
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Hide or change Extra Fields header in item view
Hi,
depends on your Template, where an custom.css is awaited from Template to load - so I would ask Template-Developer.
@ugly yellow colour: use Dev-Tools in your Browser to find out, which class-name is used for applying Colour-Defenition and change Colour in Template-css. If you add changes in Corefiles, you will lost it at next update of Template resp. k2.
Regards
depends on your Template, where an custom.css is awaited from Template to load - so I would ask Template-Developer.
@ugly yellow colour: use Dev-Tools in your Browser to find out, which class-name is used for applying Colour-Defenition and change Colour in Template-css. If you add changes in Corefiles, you will lost it at next update of Template resp. k2.
Regards
Please Log in or Create an account to join the conversation.