1
edipinho
Error in the themes, xbootstrap and xswatch?
  • 2021/4/3 3:27

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


In the themes, xbootstrap and xswatch, it is happening that the contents of the modules are appearing on the top wall of the blocks, in the old themes it continues to work perfectly, they appear in the center of the blocks, between the upper blocks and the lower blocks.

I'm having trouble figuring out the fault, please any help is welcome

Resized Image

2
alain01
Re: Error in the themes, xbootstrap and xswatch?
  • 2021/4/4 18:17

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Hi,
Right,
I didn't notice but yes !!!
Content is on top in these themes but you can modify it.

See theme.tpl (xswatch)
<div class="row">
    <{
includeq file="$theme_name/tpl/leftBlock.tpl"}>
    <{
includeq file="$theme_name/tpl/content-zone.tpl"}>
    <{
includeq file="$theme_name/tpl/rightBlock.tpl"}>
</
div>

So then see /tpl/content-zone.tp
<{includeq file="$theme_name/tpl/contents.tpl"}>

                <
div class="row">
                    <{
includeq file="$theme_name/tpl/centerBlock.tpl"}>
                    <{
includeq file="$theme_name/tpl/centerLeft.tpl"}>
                    <{
includeq file="$theme_name/tpl/centerRight.tpl"}>
                </
div>

So, content is located BEFORE center blocs
So you can modify like that :
<div class="row">
                    <{
includeq file="$theme_name/tpl/centerBlock.tpl"}>
                    <{
includeq file="$theme_name/tpl/centerLeft.tpl"}>
                    <{
includeq file="$theme_name/tpl/centerRight.tpl"}>
                </
div>
                <{
includeq file="$theme_name/tpl/contents.tpl"}>

3
geekwright
Re: Error in the themes, xbootstrap and xswatch?

This inconsistency was first introduced by xBootstrap in XOOPS 2.5.7

While it seems wrong in some ways, the focus was moving away from the big desktop, to the little mobile screen. Along with that, xbootstrap introduced a jumbotron and a slider, both taking over room and function at the top of the page. To keep the contents somewhere within a short distance of the top of the page (especially for mobile devices) something had to give.

While I can see why is seems wrong in a sense, it is also something we've been applying productively since 2014. I'm relatively sure more could break than would be fixed if it changed. It really is quite functional as is.

4
edipinho
Re: Error in the themes, xbootstrap and xswatch?
  • 2021/4/8 14:26

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


geekwright, not wanting to disagree and already disagreeing, this problem should be dealt with directly on the topic (it is cell phone so do so) and not in the choices made by the site admin, sorry I am not an expert I am just a user of this excellent CMS.

5
edipinho
Re: Error in the themes, xbootstrap and xswatch?
  • 2021/4/8 14:37

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


alain01, it worked perfect, thank you very much.

Login

Who's Online

167 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 167


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits