12 replies to this topic
#1
Posted 02 October 2012 - 07:20 PM
Is there a way to justify text in a button... I'd like the button to take the full width of the sidebar with the text justified to the right.
If you look at the primary sidebar here , you'll see what I mean. I added a "fake" button above it to give you an example of what I'm looking for. The button at the bottom is fine due to the fact that the text is a lot longer.
If you look at the primary sidebar here , you'll see what I mean. I added a "fake" button above it to give you an example of what I'm looking for. The button at the bottom is fine due to the fact that the text is a lot longer.
#2
Posted 03 October 2012 - 02:32 AM
Had to take the dummy button out... I basically need to align the bootstrap icons to the left and the text to the right... Is there a way to do that?
#3
Posted 03 October 2012 - 03:24 AM
Hi there, you can use css to justify the text and set the width of the button. You'll need to assign a class to the button first to adjust just the one, otherwise the below code will affect all the buttons.
You could try using #text-3 before hand to target that particular widget in the sidebar, but I'm not 100% sure that would work.
You could try using #text-3 before hand to target that particular widget in the sidebar, but I'm not 100% sure that would work.
#4
Posted 03 October 2012 - 03:42 AM
Ah, we were obviously writing at the same time, sorry didn't see your second post until after I had posted. From what you've described on the second post you could just use css on the icon to get the following effect as per this screenshot
#5
Posted 03 October 2012 - 05:38 AM
Thanks James B., Kinda works but still looks a little wonky. The icons are on the right side but the top 3 buttons are not wide enough.
#6
Posted 03 October 2012 - 05:42 AM
Also... How do I get some space between those 3 top buttons without checking "Automatically add paragraphs" which screws up the top and bottom spacing/padding
I basically need the buttons at and at to be the same width as the "Join our mailing list" button with icons on the left and text on the right.
Sorry to make this such a pain... I'm learning.
I basically need the buttons at and at to be the same width as the "Join our mailing list" button with icons on the left and text on the right.
Sorry to make this such a pain... I'm learning.
#7
Posted 03 October 2012 - 08:30 AM
Hi,
Add this to your custom CSS:
Add this to your custom CSS:
#8
Posted 03 October 2012 - 04:16 PM
I'm almost there... buttons are full width with space in between, text is aligned to the right but the icons are still not aligned to the left...
#9
Posted 03 October 2012 - 04:45 PM
Try this code:
#10
Posted 03 October 2012 - 05:27 PM
Weird, it actually centers the text in the buttons... No worries. I can live with the current layout.
#11
Posted 03 October 2012 - 05:32 PM
Okay, sounds good. Do you need assistance with anything else or is that fine for now?
#12
Posted 03 October 2012 - 05:51 PM
It's all good. Thank you
#13
Posted 03 October 2012 - 05:56 PM
The topic was marked as resolved.
Also tagged with one or more of these keywords: Resolved, button
PageLines Framework →
Customizations →
Create CSS for a custom pressed/hover Callout buttonStarted by bauerhaus , 17 May 2013 |
|
|
||
PageLines Framework →
Technical Support →
Image into "download" buttonStarted by joeltwalters , 14 May 2013 |
|
|
||
PageLines Framework →
Customizations →
Trouble centering button in jigoshopStarted by hop2us , 06 Apr 2013 |
|
|
||
PageLines Framework →
Customizations →
Add Shortcode for Button in HeaderStarted by salestrakr , 14 Feb 2013 |
|
|
||
PageLines Framework →
Technical Support →
Graphics or Buttons in BrandNavStarted by salestrakr , 13 Feb 2013 |
|
|











