Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Buildr .control-label set to text-alighn right (not sure why but maybe it should be set to left)

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

I installed a new form builder and it's mostly set to use the template styles.
The one thing I picked up is that Buildr sets .control-label to text-align: right - I'm not sure why (I can hack it but should it not be set to left in the core)?

z-jbwhydoescontrol-labelhavetext-alignequaltoright.png


Regards,
Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Aadil,

A framework can only have so many settings otherwise it becomes very complicated so its a case of choosing variables people want to change and don't think this has even come up before as a request

You would override it via a custom less/css file so not a hack :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

I think you misunderstood me a little - I was asking why it was set to right instead of being set to left (I don't want an option in the framework).
I ask because I believe it's meant for form labels (so naturally, even from your demos sites, I would think that it's meant to be aligned left)?

This screenshot shows that in your Highline2 template, the labels are overridden by the highline2 template files (I even looked at the Buildr demo contact page, which uses the backgrounder template, and that's also overridden by the backgrounder template files):

z-highline2352u5u92552lmg3449.png


So based on all this, is it not better to implement the change in the core rather than override it each time (unless the control-label is being used for something else that's not obvious to me)?

Regards,
Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Aadil,

What theme or preset are you using on this?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

Using the Base4 template.

Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
hmm odd as I have it as left align on my quickstart

I'll re-install a new one to double check
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, I believe the theme/child presets that come with Buildr override the alignment so that it displays left.
From the screens above, the alignment was overriden specifically for the contact form in joomla but since my form inherets the styles from the core template, I believe I now see it aligned right...hence my question about why the core has things aligned right.

Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Aadil,

The core doesn't apply for me if you use Base4

There is a style coming from the normalize css used in the core theme file
From the library - necolas.github.io/normalize.css/

I can't ask Anthony but I'd assume it is used as a base / kind of reset

However this is overridden using an !important

I'd need to see the site to be able to determine what is happening as I can't reproduce this

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Okay thanks Paul,

I'll come back to this thread when the site's live (will likely implement a quick fix via custom.css but I'd like to see why these things are being caused thereafter).

If I were to save my custom theme preset (from the themes folder in Buildr) as well as my custom.less & custom.css files before reinstalling Buildr - do you think that would maybe help to reset everything back to new?

Regards,
Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Aadil,

I'm slightly lost with what you are trying to do - I'm not sure what you mean by themes folder

Are you referring to child themes?

docs.joomlabamboo.com/joomla-template/buildr-documentation/style/using-child-themes

docs.joomlabamboo.com/joomla-template/buildr-documentation/style/using-child-themes#adding-child-theme-layout-blocks

The framework is designed to work with either a preset or a child theme

I should mention today we are looking to move everything to child themes but this is still being discussed

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

Sorry, I meant I would save the template generated preset that gets saved under the themes folder (under: templates/buildr/settings/themes).

Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
...I was basically asking if I saved all my custom files as well as the preset (which is saved under the themes folder that I clarified above), before reinstalling Buildr, then hopefully that would give me a fresh copy because your fresh installation you performed earlier didn't have the same issue with text-align: right.
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
Hi Aadil,

I can't really say on this as I can't reproduce it locally

If its a preset based on base4 it should text-align left

I'm not quite sure how you got to this point and I can't see the site so I don't know if it will make any difference at this stage

As with anything I'd make an akeeba backup first

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sure Paul, thanks. I'm using breezing forms and inheriting the base template styles...but I'll let you know when it's live so it'll be easier for you to take a look.

...and thanks for the update about your team's discussion.
I know it's only in discussion but what do you mean by moving everything to child themes - as in move all the presets to child themes and do away with presets altogether?

Regards,
Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
Last Edit: 7 years 5 months ago by Aadil.
The administrator has disabled public write access.
Hi Aadil,

As of now that is my understanding

Its becoming tricky to logistically manage with the buildr containing so many different presets and child themes

So we may separate them out into separate installations

But I can't be certain on this
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Can you put the other two questions in a new thread - I will probably need to seek advice on these

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Aadil
Okay sure, will do.

I can understand it becoming a bit of a problem with logistics...that's why my plans are to separate buildr from the child themes...and then I'll upload child themes individually.

Aadil
  • Aadil's Avatar
  • Aadil
  • LIfetime Developer - Big Bamboo
  • 292 posts
  • 13 Thanks
  • Karma: 4
The administrator has disabled public write access.
Thanks
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Once we have something concrete I'll let you know on this
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Aadil

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers