- This topic has 6 replies, 3 voices, and was last updated 12 years ago by
Sakin.
-
AuthorPosts
-
December 23, 2012 at 4:07 pm #2516
shovelpower
MemberHey guys,
I´m working on my new page on wordpress.org and I use the Catch Box Theme. For the article slider I want to use quadratic pictures. At the moment they are located on the left and this looks very bad.
How can I move them to the center?
December 25, 2012 at 2:25 am #2578Sakin
Keymaster@shovelpower: I don’t get it what you mean. Can you send me demo or like sketch/image of what you want?
December 25, 2012 at 2:21 pm #2585shovelpower
Member@Sakin It looks like that now and I want to move the picture in the middle, because this looks very bad: http://t.co/ru8gwrTT
December 25, 2012 at 10:36 pm #2605Sakin
Keymaster@shovelpower: why don’t you upload the image with minimum size of 644px width.
You can try adding in the css in “Custom CSS” box in your “Theme Options” if the image in small.
#slider-wrap img {
margin: 0 auto;
text-align: center;
}
December 25, 2012 at 10:40 pm #2606shovelpower
Member@Sakin Thank you, it works now 🙂
April 4, 2013 at 8:59 am #6392akire64
MemberHi .. I tried the code and it did not seem to work. I am trying to center the text and box in the slider… I would actually like to delete the white box around the text as well, as it’s distracts from the photos. Suggestions would be appreciated. Thanks.
April 4, 2013 at 12:10 pm #6400Sakin
Keymaster@akire64: You can try adding in the following CSS in “Appearance => Theme Options => Custom CSS” box.
/* For Transparent background in Slider text */
#main-slider .entry-title a, #main-slider .entry-content { background-color: transparent; }
/* For Text to be center */
#main-slider .entry-container { max-width: 100%; text-align: center; width: 100%; }
-
AuthorPosts
- The topic ‘How to move the picture in the article slider to the center?’ is closed to new replies.