Hey ThemeNectar and community.
I'm trying to format a full section with content and text boxes within it to appear like so (refer to attachment)
My issue comes where I'd like some things to be centered
- Heading
- two buttons below text
…but not the text itself
- flush left, two columns
Any help on how to pull this off is greatly appreciated. Thanks
Unfortunately WordPress can't process putting a nested shortcode that is the same it's parent, i.e. a 1/2 inside of a 1/2 - what you can do is simply use html instead of the shortcode for the nested one. In the text tab on your editor add this inside of your boxed column:
<div class="col span_6">A fraction of a fraction of people use the phone book anymore – and if they find you there, they’ll look online next. We help practices and organizations get discovered by “organically” ranking better in Google and other search engines. If you’re looking for a firm to “pull tricks,” seek out competitors because that’s not our method. No shady stuff. It takes strategy, know-how and time…</div>
<div class="col span_6 col_last">but often times, results can come very quickly (within 30 days). Do we guarantee no. 1 in Google’s search results? No. (And please run from anyone who asserts such a promise at the mercy of a third party like Google’s search algorithms). But there are credible ways to increase your robustness of your online presence and we love seeing this happen for our clients.</div>
So I'm assuming that there already exists a 'class' of "col span_6" within the Theme's Stylesheet with the proper widths.
And what you've done is simply piggyback on what already there.
The shortcodes usually would call up that style/CSS… but in this case, for this workaround, you've kept from having to re-invent the wheel (new HTML/CSS) and simply used existing CSS.
Hey Drew!
Unfortunately WordPress can't process putting a nested shortcode that is the same it's parent, i.e. a 1/2 inside of a 1/2 - what you can do is simply use html instead of the shortcode for the nested one. In the text tab on your editor add this inside of your boxed column:
Cheers!
ahhAHHHHah. Ok, lemme see if I get it.
So I'm assuming that there already exists a 'class' of "col span_6" within the Theme's Stylesheet with the proper widths.
And what you've done is simply piggyback on what already there.
The shortcodes usually would call up that style/CSS… but in this case, for this workaround, you've kept from having to re-invent the wheel (new HTML/CSS) and simply used existing CSS.
Right?
ah thanks, didn't think of that myself.
silly wordpress.
silly me.
Drew - The shortcodes are just shortcodes for writing the html directly, correct :)
Pyramus - You're very welcome :)
Cheers!