- This topic has 11 replies, 4 voices, and was last updated 9 years, 10 months ago by .
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate General Questions › On page affiliate area and rtl (right to left) text alignment
Tagged: affiliate area
Hi, I want to embed the affiliate area into a WP page.
When I do that, all the titles are aligned to the left, while when using the stand-alone option, they’re aligned to the right.
How can I switch titles to the right when using the on-page option?
cheers
For the on page affiliate area, it takes a lot of CSS from your theme. Can you post a link to your affiliate area so I can see how it looks?
here’s the on-page affiliate link:
[www.sitesuccess.co.il/fgdfgdfg/]
As you can see only titles are in LTR.
You can also log in with:
U: sitess
P: 402014
Inside you’ll notice that menus and titles are LTR
btw, my theme is RTLed
Okay let me understand this a little more… you are actually talking about the alignment of the message right? Or are you saying that the alphabets are in the wrong order?
I’m talking about alignment. See how conent aligned to right (OK), and titles/menus aligned to left (wrong)
Okay cool. You can change the alignments using some CSS tweak. The following two resources is all you really need:
How to Use Firebug to Modify Your WordPress Site’s CSS (Video Tutorial)
For example, you can enter the following CSS code in the above custom css plugin to align that title to right:
.wp_aff_title{
text-align: right !important;
}
i would like some help too.
i have the same problem as above with the body of the text.
Tried:
}
#wp_aff-body
text-align: right;
float: right;
margin: 10px 0px 0px 0px;
}
.wp_aff_body{
text-align: right !important;
}
but didnt help. can you asist me with right code?
tnx
Please provide a link to the affected page(s).
thank you, here is the link:
[http://learn.sodhamila.com/?page_id=1111]
Apply the following CSS tweak:
#wp_aff-index-body{
text-align: right !important;
}
thanks!
i almost got it right…
Yes