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

  • DavidBoggitt
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago - 7 years 10 months 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: 7 years 10 months ago by DavidBoggitt.

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

More
7 years 10 months 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
7 years 10 months 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.301 seconds
Powered by Kunena Forum