× Discussion about "Coffeine" Joomla template.

Topic-icon Problem with position User 4

More
6 years 3 months ago - 6 years 3 months ago #15421 by bobgen
Postion for User4 have problem. If you have included module social icons that all is OK. But, if you deactivate module social icons all other modules start to high. Same situation is if I put my new custom HTML module. Illustration is on picture. What need to change?
Thanks in advance.


Attachments:
Last edit: 6 years 3 months ago by bobgen.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #15422 by milos
Replied by milos on topic Problem with position User 4
Please change value of padding-top in layout.css:
.search_pad {
padding-top: 20px;
}

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #15430 by bobgen
Replied by bobgen on topic Problem with position User 4
There is originally that code. But I try with:

.search_pad {
padding-top: 40px;
}

Result for position is correct. But, how I can control gap between two modules in position User4? I wish few px more in that gap because position of search module and letter size module is to close.
Last edit: 6 years 3 months ago by bobgen.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #15444 by milos
Replied by milos on topic Problem with position User 4
Edit file /templates/hot_coffeine/index.php and change line:
<jdoc:include type="modules" name="user4" style="none" />

to
<jdoc:include type="modules" name="user4" style="xhtml" />

You can disable module names after that in Module Manager (if you don't need them). Also, you can control vertical padding by adding this in template_css.css:
search_pad div.moduletable {
padding: 10px 0;
}

Change value 10px if you need to.

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #18771 by aaroninbna
Hey Milos,

Do you find it feasible to possibly add a spacer module in the user4? I have HotCoffeine and going to adjust the padding in the left and right modules, but choose to simply add a blank spacer module. In the event I ever need to quickly adjust it, It is a quick change.

Have you seen any negatives by choosing this route?

Take Care,
Aaron

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #18792 by milos
Replied by milos on topic Problem with position User 4
Hi Aaron,

I am not sure I understand your question. Why do you need a blank spacer module in user4? You can create a new module and publish it in user4 in minutes, with or without the blank spacer module.

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.146 seconds