Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple Shopping Cart Tweaks › Styling the widget text
- This topic has 11 replies, 3 voices, and was last updated 14 years, 10 months ago by
pwieseam.
-
AuthorPosts
-
April 13, 2010 at 2:24 pm #1063
lucky
MemberThe text in my widget is not positioned the way I’d like it to be, but it appears to be just text with no html tag associated with it. How can I target this text with CSS to style it?
April 14, 2010 at 12:22 am #19675amin007
Participant“The text in my widget is not positioned the way I’d like it to be” – Can you please post a link to the page where I can see what you mean so I can give you some guidance?
April 14, 2010 at 12:23 pm #19676lucky
MemberHere you go: [http://relativesouls.net]
The text has no tag (no
<p>
for example), so I’m guessing nothing can be done here to tweak the positioning with css?April 14, 2010 at 7:42 pm #19677lucky
MemberJust figured out a CSS solution by indenting the whole shopping cart widget, then using a negative margin on the specific shopping cart widget h3.
April 16, 2010 at 4:54 am #19678pwieseam
MemberI’m having the same problem. How do I move the placement of the widget? I can’t figure out how to edit anything in the widget, the text or the placement. I’m not finding much in the css file. Any help on where to find this would be helpful. Thanks!
April 16, 2010 at 5:19 am #19679pwieseam
MemberOh, and the page is sterlingoccasionenterprises.com
April 16, 2010 at 7:37 am #19680amin007
Participant@Pwieseam, this post was originally for the simple shopping cart widget. I couldn’t find that plugin on your site. Are you talking about the “Simple paypal shopping cart” or a different plugin?
April 16, 2010 at 7:56 am #19681pwieseam
Membersorry, I was talking about the eMember plugin. If you go to the homepage sterlingoccasionenterprises.com you’ll see how the member login is not centered or aligned correctly.
April 17, 2010 at 2:17 am #19682amin007
ParticipantLooks like your theme isn’t specifying the before widget and after widget stuff. Are you using the “login widget” of eMember from the widgets menu or did you use the PHP function to put the widget on the sidebar?
April 17, 2010 at 3:01 am #19683pwieseam
MemberI used the “login widget” to edit it. I don’t believe I know how to insert it using the php function. I’d probably like a members login page also so it gets redirected there if they aren’t a member. I’m not sure how to do that either. Thanks!
April 18, 2010 at 1:09 am #19684amin007
ParticipantNot sure why your theme is not putting the space in the widget but lets try to work around it. Please add a standard text widget to your sidebar. Then use the following code in there:
<div style="text-align: center;">
[wp_eMember_login]
</div>This will also give you a login form but it will be centered in the sidebar. Let me know how you go with this.
April 25, 2010 at 8:48 am #19685pwieseam
MemberThank you, I got it to work, but instead of
<div>
style I just used<center>
…</center>
and the php code. Worked great! Thanks for your help! -
AuthorPosts
- You must be logged in to reply to this topic.