WebSite X5Help Center

 
Zlatin Georgiev
Zlatin Georgiev
User

WebSite X5 Evolution 10.1.8.52 Bug  en

Autor: Zlatin Georgiev
Besucht 2218, Followers 1, Geteilt 0  

I've encountered a bug with WebSite X5 Evolution 10.1.8.52. On the "Search results" page, the input field and the button "Search" have a "style" attribute, the contents of which make it impossible for you to change the style of the input field and button, while changing the style of the class. This is the HTML code I'm talking about:

<form method="get" action="imsearch.php"><input style="width: 200px; font: 8pt Tahoma; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); padding: 3px; border: 1px solid rgb(0, 0, 0); vertical-align: middle;" class="search_field" value="ZZZ Knowledge Base" type="text" name="search"><input style="height: 21px; font: 8pt Tahoma; color: rgb(0, 0, 0); background-color: rgb(211, 211, 211); margin-left: 6px; padding: 3px 3px; border: 1px solid rgb(0, 0, 0); vertical-align: middle; cursor: pointer;" type="submit" value="Search"></form>

Gepostet am
3 ANTWORTEN - 1 NüTZLICH
Incomedia
Claudio D.
Incomedia

Hello Zlatin Georgiev,

It is not a bug but how html works. Inline styling cannot be changed with css code in the same document or in an external document. The only way to make it work is to use the attribute !important in your code.

Many thanks!

Mehr lesen
Gepostet am von Claudio D.
Zlatin Georgiev
Zlatin Georgiev
User
Autor
Claudio D.
Hello Zlatin Georgiev, It is not a bug but how html works. Inline styling cannot be changed with css code in the same document or in an external document. The only way to make it work is to use the attribute !important in your code. Many thanks!

This is the generated code from your program. What I want to tell you is simple. Just open up WebSite X5 Evolution 10.1.8.52 and go to 4. Advanced Settings -> Styles and Models. Under "Page Item" select "Field". You may customize the field and it will be changed anywhere in the site, except for one place: Insert a "Search Field" in your site and when you type something in that "Search Field", another page with the results of your search appears, where the BIG "Search Field" which I've included as an attachment in my first post won't get changed and will look by default no matter how you change the "Field" under "Page Item" in the program. The same thing applies for the button there. You may change the style of the buttons everywhere, but on the search results page, it will be in its default state. I hope this, more simple explanation of the issue helps.

Mehr lesen
Gepostet am von Zlatin Georgiev
Incomedia
Claudio D.
Incomedia

Hello Zlatin,

At the moment it is not possible to customize in the Program the search field in the search result page.

I would like to suggest that you open an "Idea" Post where you describe to us the feature you would like to see implemented in the future releases of WebSite X5.

Many thanks!

Mehr lesen
Gepostet am von Claudio D.