Announcement

Collapse
No announcement yet.

How to Center an Image in Postbit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] How to Center an Image in Postbit

    Hello guys,

    I'm trying to add a Rank Image to the center of Posbit, I've already tried to use <center> imageurl </center> but it brokes Postbit layout.

    Take a look at this picture, it's where I want to have a Rank Image:

    Click image for larger version

Name:	image.jpg
Views:	2
Size:	81.3 KB
ID:	3723424

    Can u help me please?
    Last edited by silpher; Mon 28th May '12, 1:12pm.

  • #2
    Cant help without actual page link.

    Comment


    • #3
      Originally posted by CvP View Post
      Cant help without actual page link.
      Hello CpV,

      here it is: http://www.gbcheats.com/forum/anunci...s-teste-2.html

      Comment


      • #4
        I don't see any rank image in there...

        Comment


        • #5
          Originally posted by CvP View Post
          I don't see any rank image in there...
          Yea, there's no rank inserted. I want to insert it in the center of Postbit but I cant.

          This is the place where I want to insert:

          Click image for larger version

Name:	image.jpg
Views:	2
Size:	81.3 KB
ID:	3687405

          Can u access my admincp?

          Comment


          • #6
            Enable the rank images.

            Comment


            • #7
              It's activated, I just want to change Rank position in Postbit, but if I insert the following code in a different place it breaks Posbit layout:

              <vb:if condition="$post['rank']">
              <span class="rank">{vb:raw post.rank}</span>
              </vb:if>

              Comment


              • #8
                ...I still don't see any rank images in the provided link.

                Comment


                • #9
                  Originally posted by CvP View Post
                  ...I still don't see any rank images in the provided link.
                  Sorry... take a look now and you'll see

                  Comment


                  • #10
                    Try adding this to your addtional.css temaplate:

                    .postbit .userinfo>span.rank {
                    left: 40%;
                    position: absolute;
                    }

                    Comment


                    • #11
                      Originally posted by CvP View Post
                      Try adding this to your addtional.css temaplate:

                      .postbit .userinfo>span.rank {
                      left: 40%;
                      position: absolute;
                      }
                      Works like a charm!

                      MANY THANKS!

                      Click image for larger version

Name:	skotan_Thumbs_up_smiley.png
Views:	1
Size:	12.0 KB
ID:	3687406

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X