Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By abhi shetty on
Hi,
I have a form rendered using date module containing elements of date repeat module.
I want to style the elements with their positions.
Finding it very difficult to do so.
Is there anything which I can do to style the elements.?
Comments
Form styling
Simple solution will be to take the form id and provide styling in your CSS file.
Or check it out style form.
This also might be helpful.
Thanks
Thanks for replying Nitin,
Thanks for replying Nitin,
I have a issue with the default rendering of the html by the repeat_date module.
It's rendering the html as:
Div
label :Repeat
"
Every"
textbox
Div
It's displaying Every and the textbox in two different rows.
So how can I get "Every" and the textbox inline??
and how can I have that Every in any selector as it is rendered in the body of the html.??
Thanks.
Try below code
This is the case when classes are different for textboxes.
If classes are same then use the below..
Hi,
Hi,
My code is as follows:
This is the code.
I want the label i.e Repeats , "Every" , the textbox , and "weeks" in a single row.
How can I do so.??
Thanks.
It should work