Crowell Posted November 11, 2014 Share Posted November 11, 2014 (edited) Hello everyone, I have a problem with Image slider module, I'd like to have text on the right, so I made: <h2 style="text-align: right;">New collection</h2><p style="text-align: right;">Soon you will be able to see our new jewelry collection.</p><p style="text-align: right;"><button class="btn btn-default" type="button">Shop now !</button></p> You can see the effect in the attachments. How to repair it? Edit: It seems like I have some kind of colums there, longer text wraps after 4-5 words Edited November 11, 2014 by Crowell (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted November 11, 2014 Share Posted November 11, 2014 Try to open yourdomain/themes/default-bootstrap/css/modules/homeslider/homeslider.css and find below code: #homepage-slider .homeslider-description p { color: white; font-size: 1.15em; line-height: 1.3em; padding: 0.5em 0; width: 50%; } Change to: #homepage-slider .homeslider-description p { color: white; font-size: 1.15em; line-height: 1.3em; padding: 0.5em 0; width: 50%; text-align: right; } and remove styling from actual text 2 Link to comment Share on other sites More sharing options...
Crowell Posted November 25, 2014 Author Share Posted November 25, 2014 (edited) It aligned text to the right and kept it inside of this "column", so basically exactly what I have added to the .css I tried also to change width: 50%; for 100%, but it didn't help either. The point of it is also to change it only for some slides, I don't want to have all of them on the right. Edited November 25, 2014 by Crowell (see edit history) 1 Link to comment Share on other sites More sharing options...
djdarki Posted March 18, 2016 Share Posted March 18, 2016 hi its Djdarki from iran , i have same problem in 1.6.1.2 i have default theme and i want to make all of it align to right but its just text moved . is there any modul or any CSS move for make it Align to Right ??? its important to me for make it aligne right because our languange are start from right (persian) also i had First default theme and it was allready aligne to right . i removed it to make this one . i work on it in LOCALHOST please let me know it there is A answer for me . ... DjDarki from iran - live in turkey instagram : Djdarki Telegram : Djdarki Link to comment Share on other sites More sharing options...
rm31ky Posted March 28, 2016 Share Posted March 28, 2016 Try adding this to the homeslider.css #homepage-slider .homeslider-description { position: absolute; left: 0; top: 0; padding: 50px 50px; cursor: pointer; right:0;} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now