Jump to content

Archived

This topic is now archived and is closed to further replies.

dreamsight

set stextbox shortode width

Recommended Posts

dreamsight+    8
dreamsight

[stextbox id="alert"]

What's the easiest way to set the width?

 

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,  I'm sorry, but the brief questions don't really explain what you're doing and in which product? DMS or Framework?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
dreamsight+    8
dreamsight

Hi Rob, sorry.

Framework site.

I'm using [stextbox id="alert"] My content... [/stextbox]

I want to set the width of this, at present it's 100% of the page width.

Thanks

Share this post


Link to post
Share on other sites
Rob    547
Rob

Ah, Okay.  Wrap the content within a unique class and set the width to that class.

 

You  can also place that within a responsive grid element. See this: http://support.pagelines.me/docs/miscellaneous/grid-system/

 

In a grid element, you can set the width of the element it sits within. You could add elements on either side of it (to center it) or to one side or the other, and set the widths of each so that your width and position are as desired.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
dreamsight+    8
dreamsight

I'll have a play with the grid system, thanks Rob

Share this post


Link to post
Share on other sites
Rob    547
Rob

You're very welcome!


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

×