Page 1 of 1

css publish

Posted: Mon Jun 03, 2024 4:31 pm
by bruno
hello my problem is on this two site
http://zieglerbruno.free.fr (for shape color #D1CDAB ) and http://detoxnutrition.free.fr ( for background color css #D1CDAB )

apparently when I select "page property" and choose a background color, this color disappears and changes to another one at the time of publication. This also happens to the colors of the text boxes.

on the other hand, if instead I put a “shape” with the chosen color, everything goes well.

the screenshot does not match this color code in the wysignwebbuilder software. It appears yellow rather than gray.

Re: css publish

Posted: Mon Jun 03, 2024 4:49 pm
by Pablo
To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.
Also, please include a description how to reproduce this problem.

I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.

Note that I cannot see what you have done based on the published page (HTML), because the software has thousands of options and millions of possible combinations.
So, there is no way to know which options you have used by looking at the HTML only.

For further details about how to share a project file, please see this FAQ:
viewtopic.php?f=10&t=82134

Re: css publish

Posted: Mon Jun 03, 2024 4:53 pm
by bruno
ok I'm at work and I'll post the rest tomorrow.

thanks

Re: css publish

Posted: Mon Jun 03, 2024 11:05 pm
by BaconFries
Although you haven't provided a basic "demo" as of the time of my post I took a quick look at the source.of the url you say is using a shape. It looks like you are trying to apply a custom style (css) to the shape. If this is the case then you will need to set the output of the shape to be css to to take the custom style or it won't be applied. As I wrote it was just a quick look and a more definite answer will be given once you provide the "demo"

Re: css publish

Posted: Tue Jun 04, 2024 6:51 am
by bruno
Good morning
here is the wbs file and the example on this server:

http://zieglerbruno.free.fr

The problem does not concern the shape and its color. The problem is when I choose the background of the web page. It's the background of the page that changes and I have to put a shape to replace the background and get the right color

Re: css publish

Posted: Tue Jun 04, 2024 8:09 am
by Pablo
The color seems to be ok.
However some browsers may apply color quantize for images.
If you want to exact same color then use a different output format for the shape. For example svg or css.

Re: css publish

Posted: Tue Jun 04, 2024 9:03 am
by bruno
ok thank you

Re: css publish

Posted: Tue Jun 04, 2024 9:39 am
by bruno
it is working now .
but I remember that three days ago, I reset the "tools options" to default in the software. I probably had to modify a parameter in it. which ? I do not know :)