1
HFC-arab
News Module tweak !
  • 2009/1/25 16:10

  • HFC-arab

  • Just popping in

  • Posts: 30

  • Since: 2009/1/19


hello !

im not sure if what i want to do is simple or not , but im sure its possible in a way or another .

in the news_block_top.html , that shows on the main page , i will assume it looks like this as a default ?
Resized Image

but i want to apply is to show like that

Resized Image

so as much as the "other news" below the main one , it should be divided on two columns , this will save the page length , and more it will add a better look for the overall page alignment when i use 2 blocks below it of any other modules .

i hope that someone can tell me what lines i should add to the template ? or else tell me its impossible :)

2
ghia
Re: News Module tweak !
  • 2009/1/25 19:50

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try with adding a class="ul2column" to the ul tag in the template and
ul.ul2column width420px; }
ul.ul2column li width200pxfloatleft; }

in the CSS file.

3
HFC-arab
Re: News Module tweak !
  • 2009/1/26 19:14

  • HFC-arab

  • Just popping in

  • Posts: 30

  • Since: 2009/1/19


i did so , but nothing changed ?

4
HFC-arab
Re: News Module tweak !
  • 2009/1/28 0:31

  • HFC-arab

  • Just popping in

  • Posts: 30

  • Since: 2009/1/19


up

5
ghia
Re: News Module tweak !
  • 2009/1/28 7:38

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I would take a look, but the site seems closed.

6
ghia
Re: News Module tweak !
  • 2009/1/29 0:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you do an update for the news module in admin - module admin or enable temporary the template update in the system general preferences?
Did you made any of the changes, because the modifications did not show in your CSS file at /themes/blue_shine2/style.css .
BTW, for RTL languages, you have to use a float right.

7
HFC-arab
Re: News Module tweak !
  • 2009/1/29 22:50

  • HFC-arab

  • Just popping in

  • Posts: 30

  • Since: 2009/1/19


i will tell you wut i did now
i have cloned the template , then edited the news block throu block admin back-end

8
HFC-arab
Re: News Module tweak !
  • 2009/2/5 16:49

  • HFC-arab

  • Just popping in

  • Posts: 30

  • Since: 2009/1/19


Quote:

ghia wrote:
Try with adding a class="ul2column" to the ul tag in the template and
ul.ul2column width420px; }
ul.ul2column li width200pxfloatleft; }

in the CSS file.



it works fine now , as i ve edited the block on my local machine and re-uploaded

new lines added on line 909

<style type="text/css">  
ul.ul2column width700pxdirectionrtl;} 
ul.ul2column li width330pxfloatright; }


and change on line 951

<ul class="ul2column">


Login

Who's Online

240 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits