Placement seems to ignore template's CSS for two column layout

  • DavidBoggitt
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 days ago - 9 years 4 days ago #11286 by DavidBoggitt
Hi,

I'm using the template JSN Sky, which has a built in way of putting content in two columns:
Code:
<div class=”grid-layout”> <div>Text 1</div> <div>Text 2</div> </div>

If I do this in a placement however, the text does not appear in two columns but I seE:

Text 1
Text 2

Is there any way to make this work?

Many thanks,

Dave.
Last edit: 9 years 4 days ago by DavidBoggitt.

Please Log in or Create an account to join the conversation.

More
9 years 1 day ago #11289 by Dima
Hi.
You can easy set two divs on one line, just search the net, ie you should set for it display:inline style.

As for your case, check CSS overrides, ie some other extension or library overrides template styles. Check your page and find out what it is.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • DavidBoggitt
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 day ago #11291 by DavidBoggitt
Thanks - I just set two divs on one line.

Please Log in or Create an account to join the conversation.

Time to create page: 0.342 seconds
Powered by Kunena Forum