Ticket #692 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Move style from wpmu-users and wpmu-blogs to mu.css

Reported by: selad Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

The search form's style in wpmu-users.php and wpmu-blogs.php is hard coded:

<form action="wpmu-users.php" method="get" style="position:absolute;right:0;top:0;">

and:

<form id="searchform" action="wpmu-blogs.php" method="get" style="position:absolute;right:0;top:0;">

It would be great if it could be moved to the mu.css file so the 'right' setting could be changed to 'left' for those of us working with rtl.

Change History

07/23/08 12:21:10 changed by donncha

  • status changed from new to closed.
  • resolution set to fixed.

Good idea, fixed in [1397]

07/23/08 14:46:23 changed by selad

  • status changed from closed to reopened.
  • resolution deleted.

Thanks.

It seems that now the form tag in wpmu-blogs.php (line 351) has two ids (searchform and wpmu-search):

<form id="searchform" action="wpmu-blogs.php" method="get" id="wpmu-search">

This breaks the regular view of the form.

I have added the following line to mu-rtl-css:

form#wpmu-search {  
    left:0;  
} 

For some reason mu-rtl.css is loaded first and not overriding the mu.css settings.

07/23/08 15:22:11 changed by donncha

I removed the searchform id and added the css to the rtl file, along with the position and top attributes. Does that help?

07/23/08 18:40:02 changed by selad

Only these entries are needed in the mu-rtl.css file: form#wpmu-search

{
	left: 0;
	right:auto
}

Works great.

07/28/08 11:24:56 changed by donncha

  • status changed from reopened to closed.
  • resolution set to fixed.

Modified the css file in [1401], glad to have this sorted!