By Peters on
Hi all!
I have just seen a nice tutorial on View Slide show: http://www.ostraining.com/blog/drupal/views-slideshow-in-drupal-7/
BUT, of course a slideshow generally is shown on the main page without any text, especially not needed is the node title or
automatically generated system_name.
How to hide these?
ps, I just installed a "Automatic Nodetitles" but that didn't do the trick.
Thanks ahead!
Peters
Comments
---
In your content type in the "manage display" tab you should be able to set the title to "hidden".
It's the label of the title
It's the label of the title field which seems to be required at all times
It comes with a red * at the right corner and has to be filled in
Issue solved with the
Issue solved with the http://drupal.org/project/exclude_node_title module
;)
What content do you have in
What content do you have in the Fields of your View? If you you click on the Fields content in your Views there is a box that says Label. Is that checked?
=-=
yes all nodes require titles for storage in the database
elements on a page can be hidden with CSS using display: none;
Does this delete the space
Does this delete the space reserved for the title as well or does it just hide the title?
=-=
depends on which element the CSS is used on and how the theme is built. if the h1 (which is what node titles typically are) is targeted the entire h1 element should be hidden. testing will provide more knowledge.
Can also utilize http://drupal.org/project/title which turns the title into a move able field, thus you can move it to disabled in manage display
I just checked with firefox
I just checked with firefox that this is the information of the node, I guess the issue is on the 3rd line, correct? (h2..)
By the way, where is this code installed?
=-=
much of the html is output through the tpl.php file of the theme. the content is output through variables in the tpl.php files.
Can't find this back in any
Can't find this back in any file :/
=-=
because it's content output by the views slideshow module it's output through the content variable. I highly suggest spending time with the theme developers guide in the documentation section.
what are you trying to do? If this is still with working with CSS you don't need to alter the HTML, just understand it. I highly suggest htmldog.com to use to better grasp CSS. I also highly suggest learning to work with chromes developers tools, or the firebug addon for firefox to aid in understanding and working with CSS.
Yes VM, I am slowly getting
Yes VM, I am slowly getting on my way on learning more about all these issues.
But the only thing I need here is to have a slideshow without any white spaces.
Now I am stuck with a white space above the slides and can't get rid off it.
The node title is hidden but the space is still there
=-=
You don't link screenshots. you don't link to the site. you don't show any CSS code. Thus making it difficult to help you with specificity. For example? why not use a block instead of page display to place the slideshow in?
as can be clearly seen in the HTML you pasted above:
it looks like it hid the text only as the h2 element is still being constructed without any linkable text. Thus you would need to utilize CSS to hide the h2 element in question
If you have no desire to learn how to work with CSS, you were offered another module called the title.module which integrates titles with the fields api in drupal 7 and allows you to move the field from display in the manage display tab of the content type.
Hi VM, I thought I already
Hi VM,
I thought I already sent you the link before..
Here it is: http://www.gaudimodels.com/drupal/
I used the code given by "Dollomite" (see below)
It worked almost 100%. A fine line is left..
My great desire is to have complete knowledge about CSS and I am learning every day.
Meanwhile I'm learning I wish to continue constructing the page
Your assistance is highly appreciated!
Kind rgs,
Peters
=-=
after seeing the site, you did send it to me before to help with CSS and block placement from another issue. However, when you need CSS help you should link to the site and illustrate what CSS you are trying to manipulate.
Kick it off the
Kick it off the screen
Hi Dollowmite, thanks for the
Hi Dollowmite,
thanks for the code, did the job...almost! ;)
There's a fine line left, I think about 2px
Here you see the result:
http://www.gaudimodels.com/drupal/
lol, you have a white border
lol, you have a white border around both your slider and header. Remove it and your golden
still 1px
Hey Dollowmite!
I got rid off 1px border but the other one which has to be #header-menu is still there...
#header-menu { clear:both; }
I added: border:0; and border:none; but still there...
Actually I added "border:0" on many header-menu's but nothing
If you have a minute?
http://www.gaudimodels.com/drupal/sites/all/themes/corporateclean/style.css
=-=
because border: 0 isn't correct in this situation. The following will explain why:
the definitions for the element is:
it's using a border top and border bottom.
Thus your override needs to be constructed like:
which removes the border-bottom from the #header-menu
the border definition you were trying to use would only work if #header-menu was using border but it isn't.
Hi VM, Where are these lines
Hi VM,
Where are these lines from?
Can't find them in the css file...
color.css
These lines are in colors.css. But before going in there and hacking that css, the "Drupal way" would be to impose your css over that so it doesn't get lost when you upgrade a module or theme. So in the styles.css file you are editing, put in what VW wrote but change the last line to border-bottom: 0 !important;
A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com
Thanks VM for the lines and
Thanks VM for the lines and thank you Jerry for the !important ;)
Have a good night!
Your problem is come coming
Your problem is come coming from site/default/files/color/corporateclean-7c104649/colors.css remove border-bottom: 1px solid #FFFFFF; from #header-menu
Use fields
@Peters, it sounds like you are doing a slide show of full nodes and then trying to hide the title and label. If I understand that right, you might want to consider a slideshow of fields. Then you can select the specific fields you want and slideshow them.
To get rid of the white space, you can create an image preset that scales and crops all the images to fit in your slideshow viewing area. Here is an example slideshow I just did that uses two sized of images and rolling over the small image loads it into the viewer: http://shopbornandraised.com/lookbook.
Hope that helps!
Jerry
A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com
That's a nice looking
That's a nice looking slideshow Jerry!
=-=
it should also have been able to be accomplished with:
I tried that first, but it
I tried that first, but it didn't work. There was an empty box there. So kicking it off the screen was my next choice.
Next time
you should consider doing the slideshow with fields as mcfilms suggested. This way you can choose exactly which fields to display (for instance just the image). It would save you loads of time hunting through your CSS!
todays the day
Honestly I think s/he should take the hour to learn it now. It would negate the need for rendering something and then pushing it off screen. Bonus: it will prove to be a useful skill in the future.
A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com
=-=
odd that the space was maintained using display: none. perhaps the a tag was the cause of static.
Yes, this one also did the
Yes, this one also did the trick!
#node-57 h2 {
display: none;
}
Anyone has knowledge on sub
Anyone has knowledge on sub themes?...
See last post in:
http://drupal.org/node/1664824
=-=
please don't use old questions to redirect to new questions.
subthemes = http://www.youtube.com/watch?v=R0i5P3QGm5s
Practicing using the same theme as the video will aid.
If you wind up with questions regarding a specific theme vs. the video tutorial, create a new post.
Yes, I saw the video more
Yes, I saw the video more than once...
But it's about the files I already altered, no info about that.. :/
=-=
which indicates that a step was missed somewhere in the workflow.
Thus I suggest starting a new thread with links to pastebins of your .info file, .css file, template.php file, theme-settings.php file (if included)
name of your folder, name of the .info file,
Will do this! Thanks VM
Will do this!
Exactly, a piece of the puzzle is missing!
I can't find an explanation on how to make a subtheme but keep updated files in tact.
I made a new topic on this
Thanks VM
Hiding the Slideshow Title
I put the Slideshow in a Block and set the Block Title to 'none'
Worked for me :)