- Posts: 6
COMMUNITY FORUM
Solved - Gap over Read More
- Thor Morten Bjørge
-
Topic Author
- Offline
- New Member
The gap is more than 1 inch so it is way to much gap for a news site.
Look at enclosed picture.
Please Log in or Create an account to join the conversation.
- Kelsey Brookes
-
- Offline
- Elite Member
Fortunately the K2 modules are vastly easier to understand than core Joomla template overrides and I've been able to modify them extensively to do what I want.
If you use Firebug (the extension for Firefox) you can inspect the code and find out what's taking up the additional space. K2 includes a lot of redundant code output in its modules: unfortunately this is the price you pay for the simplicity of the code output - Joomla's core code has a lot of logic thrown in.
For example, with the Joomla core content component, if you have 'read more' enabled, but you do not have extended text on the article, its logic will hide the 'read more' anyway, which is a good thing.
K2 does not do this - if you have 'read more' enabled, it shows on screen irrespective of the status of the extended text.
While I think that the code to make this happen should be made available in an easy-to-implement manner, I appreciate how simple it's been to get K2 to do 90% of what I need it to do.
Please Log in or Create an account to join the conversation.
- Thor Morten Bjørge
-
Topic Author
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Kelsey Brookes
-
- Offline
- Elite Member
Please Log in or Create an account to join the conversation.
- Thor Morten Bjørge
-
Topic Author
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Mark Mintler
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Musiekvraat
-
- Offline
- New Member
- Posts: 6
Thor Morten Bjørge said:Great. Found the solution. Thank you very much.
Please Log in or Create an account to join the conversation.
- Thor Morten Bjørge
-
Topic Author
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- bunglehaze
-
- Offline
- Elite Member
- Posts: 168
leigh
Please Log in or Create an account to join the conversation.
- bunglehaze
-
- Offline
- Elite Member
- Posts: 168
leigh
Please Log in or Create an account to join the conversation.
- Inna Rand
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- Albert
-
- Offline
- Senior Member
- Posts: 79
< br class="clr" / > in the content module There is around 3 breaks. I'm not too sure but I think the breaks should be within the IF statements, which they aren't so its
< br class="clr" / >< br class="clr" / >< br class="clr" / > They add up...
Chrome and safari are built with webkit, so most likely why both are affected the same way. Test with other webkit browsers, and the same thing will probably happen. What I did was take away the breaks.
In the module parameters if your not using the video settings make sure you have it hidden, because that has 2 additional breaks.
Please Log in or Create an account to join the conversation.
- edsal
-
- Offline
- New Member
- Posts: 5
Maybe some developer correctly solved this?
Please Log in or Create an account to join the conversation.
- Leon Sweet
-
- Offline
- New Member
- Posts: 1
iLLeT said:Ok I wanted to tackle this before, and now got around to it. It has to do with
< br class="clr" / > in the content module There is around 3 breaks. I'm not too sure but I think the breaks should be within the IF statements, which they aren't so its
< br class="clr" / >< br class="clr" / >< br class="clr" / > They add up...
Chrome and safari are built with webkit, so most likely why both are affected the same way. Test with other webkit browsers, and the same thing will probably happen. What I did was take away the breaks.
In the module parameters if your not using the video settings make sure you have it hidden, because that has 2 additional breaks.
Please Log in or Create an account to join the conversation.