Hi

I have an issue that I do not understand how to solve. Its that, when I assign a label to any field in my view, the label and the values of the field appear in separate lines.

i.e. like if I select a field to have 'no. of time the node has been viewed', and name the label as "Counts".
Then the view will appear as

Counts:
32

Can this default behavior be changed. Please suggest.

Regards

Comments

leotemp’s picture

your going to need to address this on the theme level, being the case you will need to look at the markup and also most likely your CSS. if you post a URL of an example of view i might be able to help.

ms1’s picture

Hi Leo

Thank you for responding.
Actually my site is on local, so cannot show you. But I can tell what exactly I would like to achieve:
Please see this URL: http://www.mastitube.com/

The videos are shown as a grid. May be they are using the View_bonus_grid_view or probably the gallery module. (please correct me if I am wrong)

My issue is that the category, comments, Views and their corresponding values appear inline.
But in my case, these labels and the corresponding values are not inline, i.e. in my case it would be


categories:
album
--------------------------
--------------------------
--------------------------
--------------------------
--------------------------
--------------------------
--------------------------
Comments:
5
Views:
343

I hope I have conveyed my problem.

Please guide me in the right direction.

Regards

leotemp’s picture

wont be able to help without the markup and the css. All i can say is find the elements, determine their selectors and mess with how they are formatted, try changing the display type to maybe inline or set them to float, you will have to experiment, i would start by putting the css right in the theme so you dont have to worry about if its being overridden by any of the css files drupal will include in $style

Lostmonkey’s picture

I am looking for a solution to the same problem. You can see the problem at :

www.lostmonkey.dk/blog

I would like the 'Comments:' and the actual count to be on the same line.

Thanks,
Mikkel

Lostmonkey’s picture

hmm ... adding a 'display: inline;' to my CSS works. However should anyone know of a better way to do this, please let me know.

dzazi’s picture

Add to your css

.view .view-label {
float:left;
clear: left;
padding-right: 0.5em;
}
softtouch’s picture

I am having the same problem.
It render the label thing useless.