0
Welcome Guest! Login
0 items Join Now

Center a left sided text

  • Re: Center a left sided text

    Posted 11 years 9 months ago
    • I never did that before, but i will find a way to paint now
  • Re: Center a left sided text

    Posted 11 years 9 months ago
    • This image is hidden for guests.
      Please log in or register to see it.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Center a left sided text

    Posted 11 years 9 months ago
    • ... perhaps adding something like this helps

      .sprocket-lists-item h4 {
      text-align: center;
      }

      btw please post your questions in the template or extension specific forums.
  • Re: Center a left sided text

    Posted 11 years 9 months ago
    • Henning. I put it here bcz its a general problem independent from templates.

      Its not working with your solution. I try a bit around your idea also, but it stays the general question. I put it in new words to try to make you understand.

      I have a text with more then one line only. All lines should beginn left. The whole text should be in the center of whatever (a module).
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Center a left sided text

    Posted 11 years 9 months ago
    • I guess you want something like that ...
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Center a left sided text

    Posted 11 years 9 months ago
    • Thanks for that little scribble you send me – I guess I inderstood that now.
      I don't think that is really possible with the tables you are using.

      Perhaps adding something like this helps

      #rt-mainbottom span.sprocket-padding {
      padding-left: 20%;
      padding-right: 20%;
      }

      ... but it's only faking what you want to do and may not really match your idea.
  • Re: Center a left sided text

    Posted 11 years 9 months ago
    • I will try that.

      I did not want to use a table but i could not get a satisfying result without. If there is a perfect solution i will rewrite all when i get some time for it.
  • Re: Center a left sided text

    Posted 11 years 9 months ago
    • I try it. It centers but on the other side in the view where the buttons are smallest (tablet) the text breaks more to new lines. Since i already adjust all buttons to that and i want to keep using as much width as possible this is not the solution.
      Thanks for the help Henning. I think its already good enough and i will get a new try in a more css specialized forum. Anyway this is really not a rocketheme topic and i dont want to hold you away from the intended work.

Time to create page: 0.046 seconds