Community mailing list archives
Re: Re: How to add CSS code on my odoo website using the online HTML Editor ?by
Yes, it's excatly what I followed.
I wanted to ask you how hard it is to repackage a bootstrap theme into an odoo module ?
What are the main steps did you followed to repackage it ? And what is the challenges behind ?
I have little ideas to discuss with you, after analyzing your module, but I need to know about yours first.
Thanks a lot for contributing, maybe we can work together to repackage other themes and share it.
Talk to you soon.
More information here:Yes, it's necessary to install:less and less-plugin-css
https://www.odoo.com/documentation/8.0/setup/install.html#setup-install-source2015-07-14 12:14 GMT-03:00 Yassine Teimi <email@example.com>:@Danimar :I needed to install some Less CSS Plugins required for website_less module to work. if not installed, the theme css based on it is not loaded.Thanks. I'll get you updated.2015-07-14 1:06 GMT+00:00 Yassine Teimi <firstname.lastname@example.org>:
I'm Yassine from morocco, i've issues with adding some css by inheritance. I've forwarded you my emails exchanges with the community as I can see you released your website techorg. Can you please help me with this issues? Thanks.
Ramadan mobarak.---------- Message transféré ----------
De : "Danimar Ribeiro" <email@example.com>
Date : 10 juil. 2015 12:42
Objet : Re: How to add CSS code on my odoo website using the online HTML Editor ?
À : "Community" <firstname.lastname@example.org>
Cc :Hi, recently I created a website with the odoo.Here is the template I use it:
http://www.k2joom.com/bootstrap/landon/index.htmlThe website:www.t-pelican.com.br (portuguese)And here is the code:
https://github.com/Trust-Code/trust-themesFollow the code and you see how to add css, inherit pages and etc.2015-07-10 0:23 GMT-03:00 Kurt Haselwimmer <email@example.com>:
Yassine,what is the white space caused by in the page DOM - you need to inspect it with something like the page inspector tools in firefox to see which element or css rule is causing the whitespace, or even if your new css file is properly loading.Kurt
Heeelp pleaase i'm stuck...Le 8 juil. 2015 16:32, "Yassine Teimi" <firstname.lastname@example.org> a écrit :Hi Luke,Following your anwser on my question about how to add css to my theme, you advised me this forum thread which I found usefull :I've several questions about it :Why you did'nt backup your branch after the indiegogo campaing has finished ?https://github.com/lukebranch/design-themesI have a theme called custom_theme, wich I downloaded from the odoo app store, it's a free theme developped by beztech I think. So, their theme overrides website.homepage, and website.layout, once I add my custom css by inheritance between the :<html><head> </head></html> as follows :<template id="layout_inherit" inherit_id="website.layout"><xpath expr="//html/head" position="inside"><!-- their css theme --><link rel="stylesheet" href="/custom_theme/static/src/css/bootstrap.css"/><link rel="stylesheet" href="/custom_theme/static/src/css/custom.css"/><!-- my custom css --><link rel="stylesheet href="/custom_theme/static/src/css/bootsnippet_1.css"/></xpath>It generates a white space on the website layouts as follows (click the link) :Once I delete this override, the layout becomes normal.Should I do this override differently ?On the other hand I saw you talked about website-multi module, and that it was backported to version 8, is it stable now ? can i use it on production ?My need is to have multiple website on the same odoo instance and for every website link it with a domain name, how to do this technically ?And to finish, do you have any themes examples that you can share with me ?Many Thanks.
----CordialementYassine TEIMIConsultant & Odoo Project ManagerTEL : +212 6-27 33 30 78