Move article side info from left to right

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Dec 21, 2013 5:13 pm
Reply with quote
Report this post
Hello;

I searched in the forum for a way to move article side info from left to right; but i only found a post about moving it to bottom in K2.

What i need is to move the side info to right in joomla articles not K2 items.

Any one did it?

Regards;

Bashar
User avatar
Junior Boarder

GK User
Sat Dec 21, 2013 7:28 pm
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Sat Dec 21, 2013 8:41 pm
Reply with quote
Report this post
Hello

http://www.kuwaitnews.com/testsite/inde ... le-article

We are working the site ..

Regards;
User avatar
Junior Boarder

GK User
Fri Dec 27, 2013 2:07 pm
Reply with quote
Report this post
Please edit: /templates/gk_news/css/override.css and add at its end:
Code: Select all
#gkPageContent {
background-position: 718px 0!important;
}
#gkContent.gkColumnLeft {
float: left;
}
#gkContent.gkColumnLeft + #gkSidebar {
float: right;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sat Dec 28, 2013 5:27 pm
Reply with quote
Report this post
Hello Cyberek;

The css you provided moved sidebar to right; what we are asking for is the article side info (please check the attached image) and the link ( http://www.kuwaitnews.com/business/worl ... -2014-2015 )

We want the info to be below the article image just like the demo page ( http://demo.gavick.com/joomla25/news/in ... le-article ) but on the right side since our site in Arabic RTL.

We tried to make the image 800 wide but it got re-sized and the article info staid at its place at the top beside the image.

Regards;

Bashar
User avatar
Junior Boarder

GK User
Thu Jan 02, 2014 6:15 pm
Reply with quote
Report this post
I have checked the code and it seems you have either outdated template, or something was changed in template core files.

Could you please download file:
/templates/gk_news/html/com_content/article/default.php
create a compressed zip from it (please use system's compress function), and attach as a post attachment?
User avatar
Moderator

GK User
Fri Jan 03, 2014 1:29 am
Reply with quote
Report this post
Hi

Attached default.php file. We didn't modify the file and its from the latest news version.

Regards;

Bashar
User avatar
Junior Boarder

GK User
Sat Jan 04, 2014 12:51 pm
Reply with quote
Report this post
It looks like you have some 3rd party plugin installed that changes source code of single article:
Code: Select all
      
<div itemscope itemtype="http://schema.org/Article">
<meta itemprop="headline" content=" الامم المتحدة تتبنى ميزانية تقشفية للفترة 2014-2015 " />
<meta itemprop="editor" content="بشار الصايغ" />
<meta itemprop="articleSection" content="world" />
<meta itemprop="dateModified" content="2013-12-28" />
<meta itemprop="dateCreated" content="2013-12-28" />
<meta itemprop="datePublished" content="2013-12-28" />
<meta itemprop="author" content="بشار الصايغ" />
...
</div>

This is not something generated by our template, so I cant even point you into right direction, as with html changed (its not those lines, but also order of html elements), it is impossible to rearrange the items to the way you would like them to be with use of only css.
User avatar
Moderator

GK User
Sat Jan 04, 2014 6:03 pm
Reply with quote
Report this post
Hello Again;

We have disabled all 3rd party plugins but its still the same layout.

Regards;
User avatar
Junior Boarder

GK User
Tue Jan 07, 2014 1:36 pm
Reply with quote
Report this post
Please edit: /templates/gk_news/css/override.css and add at its end:
Code: Select all
article.item-page aside.itemAsideInfo {
    float: right;
}

article.item-page div.itemBody {
    width: 520px;
    margin: 0px;
    float: left;
}
User avatar
Moderator

GK User
Tue Jan 07, 2014 3:04 pm
Reply with quote
Report this post
Thank you! its worked ..

However the sideinfo still beside the image not below ... is it something related with image size? we are using 600px X 300px size.

and one more thing, how can we move the date auther info to be with the side info rather than being alone below the title.

Regards;
User avatar
Junior Boarder

GK User
Tue Jan 07, 2014 8:46 pm
Reply with quote
Report this post
Thats because you uses your image inside of an article, and on our default article it is used as Intro image / Full article image - those settings are available in article editor on right side under "Images and links" tab.
User avatar
Moderator


cron