- Posts: 54
COMMUNITY FORUM
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Module width
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
Kindly help me. I want to reduce the width of the module postion to a smaller one and in increase width of the of module postion " numotors_index_column"
Regards
Mariak
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
It is quite easy. Paste this snippet in your template.css.
.col_2 { width: 412px }
.col_6{ width: 211px; }
I increased the width by 50pixels. You tweak the size. All you need to do is increase col_2 and decrease col_6.
This snippet might be useful if you decrease the space even further.
span.catItemImage img { max-width: 100%; }
.isFrontpage div.catItemImageBlock { margin-right: 0; }
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
I have posted the code at the end of the template.css but I still see no changes. Is there a particular line in the template.css where i post the code?
Regards
mariak
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
make sure you post the col_xx code as well, this is the code which alters the width.
Keep in mind that you can also increase/decrease the width with this snippet even further.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
(All our newer templates only contain icon fonts).
You need to edit these images and then open both the template.css and k2.css files and replace all instances of #fee725 with the hex you want eg. #4aaffb (lightish blue)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
My suggestion is to grab the psds as well and "slice" the images from there. It will save you a lot of time.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You will get the icons in a seperate psd, but other elements which are parts of eg. the header are in their respective psd files.
PS. If you want a module inside an article/ item you can use the {loadposition} snippet, alternatively you can look at the template's module map to find a suitable position.
nuevvo.com/documentation/commercial-templates/item/41-numotors-documentation
(head down to the visual walkthrough)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Somehow I cannot find the attachment.
The image might not be big to be uploaded.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
In this version there are no polls (polls where part of Joomla! 1.5 only unfortunately ) and the related items are displayed in a list.
If you want to insert a module in the K2 item and NOT use the loadposition method you can hardcode it in your template.
Open the item.php file located under /templates/numotors/com_k2/default and in line 215 directly over <div class="itemFullText"> paste the snippet in this post.
<?php foreach (JModuleHelper::getModules('inner-item') as $module) {
echo JModuleHelper::renderModule($module, array('style' => 'nu'));
}?>
A similar thread can be found here: getk2.org/community/English-K2-Community/179921-SOLVED-Add-a-Module-position-to-K2-Template-do-it-better#191224
You can then use the floatLeft or floatRight suffixes to push to the direction you want.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Mariak Bol
-
Topic Author
- Offline
- Senior Member
- Posts: 54
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.