Jump to content
  • 0

content e skin mobile


Kronos_OS

Question

Sicuramente avrete notato che in tutti gli ip.content, con la skin mobile, viene visualizzata prima la sidebar del contenuto del sito, risolvere il problema è molto semplice.

Andiamo in: other apps> content > page manager > index.html

La index.html sarà qualcosa di simile:

{ccs special_tag="navigation"}<div class='ipsLayout ipsLayout_withright'><div class='ipsLayout_right'>	 {parse block="articles_menu"}	 {parse block="recent_comments"}</div><div class='ipsLayout_content'>	 {parse articles}</div></div>

Modifichiamola così:

{ccs special_tag="navigation"}<div class='ipsLayout ipsLayout_withright'><div class='ipsLayout_content'>	 {parse articles}</div><div class='ipsLayout_right'>	 {parse block="articles_menu"}	 {parse block="recent_comments"}</div></div>

In pratica abbiamo preso questa parte di codice:

<div class='ipsLayout_content'>	 {parse articles}</div>

E l'abbiamo spostata dopo

<div class='ipsLayout ipsLayout_withright'>

In questo modo, con la skin mobile, verrà visualizzato prima il contenuto della pagina, e poi la sidebar.

Spero di essere stato d'aiuto! :)

Edited by BomAle
  • Like 3
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Si, con la skin normale non cambia assolutamente nulla, i cambiamenti li vedi solo con la skin mobile.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. to insert a cookie message.