Search Form Button

In mat5rix 3.10.1 is there a way with the search design to set a class id for the search button, so that you can apply a style to it?

Wrap <div> tags around it? :slight_smile:

[quote]Wrap <div> tags around it? :slight_smile:
[right][post=“13048”]<{POST_SNAPBACK}>[/post][/right][/quote]

ahhhhhhh hehehe



would be nicer if there was an option on the custimisation screen to set field, button ID’s for styles :smiley:

I have not spent enough time experimenting with my first Matrix install 3.10.3 and do not have the search design with the default install.


I did find a couple of interesting things found out about login_design and input type = submit login button



if you do a view source on the login page the id of the submit button is log_in_out_button though the id does not appear when you parse the login_design page (so a view source of the search page may suprise you)



Alternative .sq-commit-section input will style the submit button on the login page. I assume there will be a containing div with a unique class on the search_design page.



It is easy to test CSS changes on the fly if you use Firefox with Chris Pedrick's web developers toolbar - edit CSS option.

Thanks for the comment, however I ended up getting around the issue by using

    #search_form INPUT[type="submit"]
    {
    
    Styles in here
    
    }


#search_form is the ID of the Parent div, and the above seems to work in Mozilla and IE7