Community Forums › Forums › Archived Forums › Design Tips and Tricks › [Delicious] Slider align text ?
Tagged: align text, Delicious, slider
- This topic has 14 replies, 4 voices, and was last updated 11 years, 5 months ago by Boblebad.
-
AuthorPosts
-
April 8, 2013 at 6:27 am #33935BoblebadParticipant
Hi
How is it possible to align the text in the slider post ?
I have the image to the right, and have the text to the left and i want the text to be centered between top and bottom, anything i change at margin or padding, has no effect, i can only move the whole slider down...
All the best
Carsten, DenmarkApril 8, 2013 at 6:36 am #33939AnitaCKeymasterPlease share a link to your site so we can take a look.
Need help with customization or troubleshooting? Reach out to me.
April 8, 2013 at 6:51 am #33951BoblebadParticipantThanks for your answer 🙂
It's just a standard Delicious slider http://www.gittehovmand.dk/
April 10, 2013 at 2:38 am #34465BoblebadParticipantIs there anyone who can help with this ?
All the best
Carsten, DenmarkApril 10, 2013 at 6:45 am #34487AnitaCKeymasterLet me see if I can get someone to help you. I tried looking at the code and cannot find where to edit it. Give me a couple hours if that much.
Need help with customization or troubleshooting? Reach out to me.
April 10, 2013 at 7:25 am #34491BoblebadParticipantThanks anitac 🙂
Sounds great 🙂
April 10, 2013 at 7:29 am #34492Diane KinneyMemberI was able to style the text by adding
.slider-post h1 {
padding-top: 100px;
}to the stylesheet. If you add that and do some experimenting, you should be good to go.
Need more help? Find me on Twitter @gidgetthegeek
April 10, 2013 at 8:49 am #34518BoblebadParticipantThanks Diane
This could help, but i'm using h2 in the post, and the title is h2 too, so the padding is added to both ?
EDIT: I only need the post-text to be at the bottom, not the title...
April 10, 2013 at 9:12 am #34534Diane KinneyMemberCarsten, I'm somewhat confused. I did a little screenshot so you can see what I see. Screenshot
It appears to me that there is a slider at the top with an h1 title and image right, and below that a featured post - two separate items? Â In retrospect, not certain I understand exactly what are you trying to adjust. Â Thanks.
Need more help? Find me on Twitter @gidgetthegeek
April 10, 2013 at 9:31 am #34544BoblebadParticipantThe slider has a kind of a featured post to the left and an image to the right
The post has a title, and that title is h2
In the post i have used h2 to get a bigger text for better reading, so when adding the style to h2 pad's both the title and the post-text
I only need to have the post-text aligned to the bottom of the slider, so the title stays at the top 🙂
EDIT: Sorry for the mix-up, i'm working on two sites with the same theme, http://www.gittehovmand.dk is without title and http://www.vaegthealing.dk is with title 🙂
EDIT2: Actually, i'm not sure why the title of the post is treated as h2, cause it is bigger than the post-text, so i must be h1, but not defined as so...
April 14, 2013 at 11:34 am #35414BoblebadParticipantAny one who can tell me how to align only the text in the slider ?
All the best
April 17, 2013 at 10:41 am #35959BoblebadParticipantI still have this problem and haven't found a solution yet...
All the best
April 17, 2013 at 11:06 am #35969AnitaCKeymasterPutting out another SOS signal for you!
Need help with customization or troubleshooting? Reach out to me.
April 17, 2013 at 11:57 am #35978OzzyMemberyou can try putting this in your style.css:
.slider-post h1 { position: absolute; top: 45%; width: 50%; }
you can mess with the top percentage to put it right where you want it vertically.
May 7, 2013 at 6:03 am #39692BoblebadParticipantSorry for the late reply, have had some other projects at work that i needed to tend to...
It works on http://www.gittehovmand.dk, but not on http://www.vaegthealing.dk
I use h2 in the post and have change the style from h1 to h2, but nothing happens ?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.