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

  • DavidBoggitt
  • DavidBoggitt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
5 months 1 week ago - 5 months 1 week ago #11286 by DavidBoggitt
DavidBoggitt created the topic: Placement seems to ignore template's CSS for two column layout
Hi,

I'm using the template JSN Sky, which has a built in way of putting content in two columns:
<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: 5 months 1 week ago by DavidBoggitt.

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

More
5 months 1 week ago #11289 by Dima
Dima replied the topic: Placement seems to ignore template's CSS for two column layout
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 ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

  • DavidBoggitt
  • DavidBoggitt's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
5 months 1 week ago #11291 by DavidBoggitt
DavidBoggitt replied the topic: Placement seems to ignore template's CSS for two column layout
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.072 seconds

Donate


Go to top