Css stop working after github update

Status
Not open for further replies.

chancar

New Member
Hi,

I'm opening this new thread for this specific issue.

After github update my form lost cssfeatures and came back to Joomla's template default. I had it in a "demo1" folder on "components/com_fabrik/views/form/tmpl/" and my css was in the "template_css" file. The file hasn't been overwriten and form's both front end and admin are still set to demo1.

However, checking with firebug and it seems that the form no longer gets css from demo1, but from the Joomla template's css files.

How can I fix it? Thanks a lot!

link: http://legalapps.biz/newo
 
This form is loading the /form/bootstrap template, not demo1.
It seems you are calluing the form in an article, so add {fabrik ... layout=demo1}
 
Thanks, troester. Not sure about the precise instruction. Something like this?

{fabrik view=form id=1}
{fabrik view layout=demo1} It gives me a Error 500...

 
It's working fine on my site.
Are you sure there are no additional spaces or HTML formatting inside {}?
Which Joomla version?
 
Ok, solved it. I think the problem is I copy/pasted from your post. It started working when typed it myself. Thanks a lot!
 
Well, sorry, perhaps I rushed on closing the thread. It actually got the css and back to how it used to look. However, my template.css doesn't seem to be in control of the css anymore. Firebug says it is getting the css now from some template...rm&rowid=

Now I'm really lost...

 
This is exactly as it has to be: Fabrik is calling template_css.php (and custom_css.php) with some parameters to create form/details and row specific CSS code.
.../demo1/template_css.php?c=1&rowid=&view=form&rowid=
c=1 is formID
rowid is not set because it's a new record
 
Ok, thanks. The thing is I'm modifying some of the css code in template.css and it doesn't do anything. Where should I go now modify the css's?
 
You should modify the content in a text editor . what are you trying to modify in that file and what output / changes to the page are you expecting?
I can see the template.css file loading fine and the csss inside it applied to the form, so its probably a question of the selectors you are using not being right
 
Well actually anything. For instance if I ge to the template_css.php on my demo2 folder and try to tweak the following:

#form_1 .input-medium {
width:184px;
}

Into this:

#form_1 .input-medium {
width:200px;
}

Just to make some of the boxes wider. And it doesn't do anything. It just keeps this ugly layout I once did. The thing is I had no problem in doing so before the update (indeed, I gave the form its current look before the update by modifying the template_css).
 
Your modification is loaded but it won't help to increase the input if the surrounding div keeps its width.
Not sure what you want to achieve, as Rob says you have to tweak the correct classes.
BTW: you can select input- large or - xlarge in element settings.


Gesendet mit Tapatalk
 
Thanks a lot. But I still don't understand (a) why it used to work before, (b) why can the classes be wrong if I am getting them from firebug and (c) where is the surrounding div that spoils it all.

Elements settings size cannot solve the problem, because resizing was just an example of the many things I intended to do. Now, cannot even remove that creepy background image I once set. Cheers!
 
You are using a very strange Joomla template which additionally has CSS compression enabled.
Your form is looking totally different with the standard Joomla protostar template (you can add ?template=protostar to your URL to see it).
The classes aren't wrong but you aren't modifying what is needed (this is not Fabrik but CSS).

Fabrik3.1 needs a standard Bootstrap Joomla template, I don't know if the afterburner template you are using is one.
I would suggest to start a new custom template with a fresh Fabrik bootstrap copy, to put the stuff you want to modify in custom_css.php (and let template_css.php untouched) and to test with the Joomla protostar template.

If it's working with protostar you can then start to tweak the settings of your afterburner template (which seems to set/override a lot of standard settings which you then must "reset" in your custom_css.php)
 
Thanks! I'm going to try that and sure it will work as it works with the protostar. I think we can close this thread.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top