- Posts: 61
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- How do I move the K2 "item tools" from side to bottom of article?
How do I move the K2 "item tools" from side to bottom of article?
- that library
-
Topic Author
- Offline
- Senior Member
2- I desperately need to move the "item tools" to below the article - they don't look right on my site and it takes up valuable real estate that I need for the article itself. I would like them to display below the articles like I have on this other site.
I'm just not sure how to manipulate or what to manipulate in order to force the article tools below. And if they aren't working at all, how to just make them disappear? (but that would be a shame)You will be able to see exactly what I am talking about by clicking the first link. The second link shows my pride and joy - I *LOVE* K2 !!
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
/* --- Additional left column in itemView --- */
#k2Container div.k2itemColumn {float: left; width:220px;}
#k2Container div.itemTools {clear: both; padding: 20px; }
#k2Container div.itemTools ul li { line-height: 2.5; border-bottom: 1px dotted #ccc}
#k2Container div.itemTools a.itemEmailLink {margin-left: 6px; padding-left: 6px; border-left: 1px solid #ddd}
whereas in the k2.css (in components/com_k2/css/k2.css) it does not anywhere say "itemTools" at all... each of the "tools" are just delineated separately, typically with a "display:block;float:left;"...
I switched the template to Ja_Purity and the font re-size, print & email, + author were at the top of the article, with the "additional info" (extra fields) at the bottom.
And the social sharing graphic buttons don't show up when I switched the template to Ja_Purity either? Weird!
I don't want to take all of these "itemTools" OUT, I just don't know how to move them to the top and bottom of the article within the PostNote template (like it does here) for example, just removing that left column entirely... any ideas?
I don't mean to be dense, I just don't know how to eliminate the column and put these items where (in my opinion) they look much better...
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
It came out as attached. Ill look further later
and will respond to your email after "thought"
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
in templates/gk_postnote/style1.css in class:
Code:
.k2itemColumn a {
background:none repeat scroll 0 0 transparent;
color:#444444 !important;
}
remove the line with background.
And it worked!! So that makes me very happy - now to just figure out how to make the tools show up on the top (author name, date, font re-sizer, print, email) and bottom (additional info, tweet this, social sharing icons, category) like K2 normally does...
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- AdrianK
-
- Offline
- Senior Member
- Posts: 46
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
/* --- Additional left column in itemView --- */
#k2Container div.k2itemColumn {float: left; width:220px;}
#k2Container div.itemTools {clear: both; padding: 20px; }
#k2Container div.itemTools ul li { line-height: 2.5; border-bottom: 1px dotted #ccc}
#k2Container div.itemTools a.itemEmailLink {margin-left: 6px; padding-left: 6px; border-left: 1px solid #ddd}
So I moved the k2ItemColumn to here (in that same block as noted above):
#k2Container div.k2ItemContent, div.itemCommentsForm form {padding-left: 240px;}
div.itemCommentsWrap {padding: 0 20px 20px 240px;}
#k2Container div.k2itemColumn {float: left; width:220px;}
I think however, that it is necessary to get rid of the "item column" altogether, as making that change had absolutely no effect. I'm still stumped!
Please Log in or Create an account to join the conversation.
- Simon Wells
-
- Offline
- Platinum Member
- Posts: 955
Most common reasons for missing images are either the wrong link, or the image folder has not been transferred from one Joomla template to another in the correct position, so it would be good to check those first.
You are seeing the GK have done a good job to provide information on the styling for their version of the K2 template, so you will not see that in your default k2 or from another provider.
The beauty of K2 is that it is a big bunch of blocks of code, so you can take elements from the "item tools" and move them where you want.
Further example of K2 templates, can also be seen on k2joom.com.
As William has said, get Firebug for FireFox, this will allow you to right click a part of your site, this will then show you the html code and the css rules used on the element. You can then make live changes to the html and css live and it will update just your view. It will help you identify which css file and part to modify.
Let us know how you get on.
Simon
K2 Support
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
I will hop over to K2Joom to see what I can learn there because this is very problematic for me. The template is beautiful and I've made a lot of effort to customise it, but this is one of the remaining items I must get worked out before it's official launch.
Please Log in or Create an account to join the conversation.
- Simon Wells
-
- Offline
- Platinum Member
- Posts: 955
I can then offer some advise.
Simon
K2 Support
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
The links i was talking about are at:
simon.getk2.org/component/k2/item/91-templating
and
simon.getk2.org/downloads/free-extensions/item/26-css-4-k2
Carolyn Harris said:Well... I tried copying the 'default' folder and renaming it to 'my_test' and putting it in the same place (i.e., templates/gk_postnote/html/com_k2/) and in the categories I cannot even select it as a different template in the K2 section of Admin! I don't know what's going on?
Please Log in or Create an account to join the conversation.
- that library
-
Topic Author
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- How do I move the K2 "item tools" from side to bottom of article?