Addling line or space between article summarys SOLVED!
Addling line or space between article summarys SOLVED!
On the main page i have summary's listed with pictures, my problem is the summarys are to close together. I would like to add a line between summarys, or just increas the space between them.
Last edited by plushett on Sun 19. Jun 2005, 20:39, edited 1 time in total.
- Oliver Georgi
- Site Admin
- Posts: 9904
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Code: Select all
$template_default["space_between_list"] = '<hr>';
Oliver
wow such fast response you guys rock
ok stupid question, where will i place that line of code? in the template following the {content} tag?
and do i place a value in that code to decide the amount of space ?
sorry to ask stupid questions, I am reading as many css books as i can and reading posts here as much as possible also. just getting into these snags once in awhile and getting impatient. hehe again thank you for the super fast response.
and do i place a value in that code to decide the amount of space ?
sorry to ask stupid questions, I am reading as many css books as i can and reading posts here as much as possible also. just getting into these snags once in awhile and getting impatient. hehe again thank you for the super fast response.
getting closer:
ok so i decided to not be lazy and start searching around and went to the root directory of phpwcms/config/phpwcms/conf.template_default.inc.php
and found that line of code. i put in the <hr> part at the end but no results so far perhaps i have it wrong. and where do i set the <hr> values? for say size and color. I am assuming i would set the hr values in frontend.css
in this area.
.articleSummary {
font-family: Helvetica, Arial, Verdana, sans-serif;
font-size: 11px;
color: #000000;
line-height: 135%;
}
i guess now question would be correct way of adding the hr values in that area.
and found that line of code. i put in the <hr> part at the end but no results so far perhaps i have it wrong. and where do i set the <hr> values? for say size and color. I am assuming i would set the hr values in frontend.css
in this area.
.articleSummary {
font-family: Helvetica, Arial, Verdana, sans-serif;
font-size: 11px;
color: #000000;
line-height: 135%;
}
i guess now question would be correct way of adding the hr values in that area.
- Oliver Georgi
- Site Admin
- Posts: 9904
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
don't know which version of phpwcms you use but try to find out that it works first there for you.
Then use CSS or any other replacement for <hr> there to format your space between article summary listings.
Use any code there like:
Search the forum too to get information about general template default you have to set in conf.template_default.inc.php.
Oliver
Then use CSS or any other replacement for <hr> there to format your space between article summary listings.
Use any code there like:
Code: Select all
$template_default["space_between_list"] = '<div class="myspacer">any html tag you want to use there too <img src="img/leer.gif" width="1" height="25" alt="my spacer image"></div>';
Oliver
- Oliver Georgi
- Site Admin
- Posts: 9904
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
try other values too - this should be the correct you need at the moment.
Oliver
Code: Select all
$template_default["space_between_sum"] = '<hr>';
yep
yeah that was it. just found that code, thanks again so very helpfull..now on to my next challenge, hehe. Im really loving phpWCMS its becoming an enjoyable learning experience, and rapidly beoming an obsession tweaking and improving. finding myself waking up thinking about tweaks i want to make. was logged into my admin section before coffee was even ready this morning.