Welcome to Geeklog Sunday, July 12 2020 @ 03:10 am EDT

Geeklog Forums

editing CSS file


SDWebWorks

Anonymous
This is the GL site I'm working on: scs-matters.com/scsblog/

Wayne migrated the site for us, then upgraded the install from 1.4.1 to the current version and made sure the theme was in place. (Thanks again Wayne.)

Now I am trying to edit the CSS file so that entire entries are not all bold. First, I guess I should be sure that I'm editing the correct file. Is it layout >> theme-name >> style.css?

Assuming so, here's some of the code from that file:

PHP Formatted Code

.story {
  /* the frame around all elements of one story */
  background: #FFFFFF;
 font-size: 12px;
  font-family:palatino;
  color:#000000;
}

.story h1{
  /* the title of a story */
  background:transparent;
  color:#000000;
 font-weight:bold;
  padding-left:1px;
}
.story-body {
  /* this is the actual content of the story */
  padding:3px;
  font-family:palatino;
  font-size:12pt;
}
.story-featured {
  /* the frame around all elements of a featured story */
  background:transparent;
  color:#000000;
}
.story-featured h1 {
  /* the title of a featured story */
  background:transparent;
  color:#000000;
 font-weight:bold;
  font-size:12pt;
  padding-left:1px;
}
.story-icons {
  /* print & mail icons in a storybox */
  float:right;
}
.story-container {
  /* frame around all stories & centerblocks*/
  padding-right:9px;
}
.story-footer {
  /* the bottom of the story with edit-links etc */
  padding:3px;
  text-align:center;
}
.story-information {
  /* the author, views and date of a story */
  padding:3px;
  font-size:1em;
  background:transparent;
  color:#000000;
}
 


(Basically the entire "story" section.)

Maybe I'm just being an idiot but I can't see what's still causing the story text to be bold. Can anybody tell me what I'm missing?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Hello,

Seems to be a <b> tag causing this. Could you check your storytext.thml in the same folder.

Here is the file from the professional theme
PHP Formatted Code

<div class="story">
    <span class="story-icons">
        {email_icon}
        {print_icon}
        {edit_icon}
    </span>
    <h1>{story_title_link}</h1>
    <div class="story-information">
        <p>{story_date}</p>
        <p>{lang_contributed_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</p>
        <p>{lang_views} {story_hits}</p>
    </div>
    <div class="story-body">
        {story_anchortag_and_image}{story_text_no_br}
    </div>
    <div class="story-footer">
        <p>{page_selector}</p>
        <p>{readmore_link} {post_comment_link}</p>
        <p>{plugin_itemdisplay}{comments_with_count} {trackbacks_with_count}</p>
    </div>
</div>
<div class="block-divider"> </div>


::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

SDWebWorks

Anonymous
Quote by: cordiste

Hello,

Seems to be a <b> tag causing this. Could you check your storytext.thml in the same folder.

Here is the file from the professional theme {code}

::Ben



It's actually not the professional theme, I think it's ivy league. Back when I installed the second theme, I seem to recall that having two themes caused some sort of undesirable conflict. What I ended up doing that worked was putting all the ivy league files in the professional directory and then leaving it alone.

Anyway, here's what's in storytext.html:

PHP Formatted Code

<div class="story">
    <span class="story-icons">
        {email_icon}
        {print_icon}
        {edit_icon}
    </span>
    <h1>{story_title_link}</h1>
    <div class="story-information">
        <p>{story_date}</p>
        <p>{lang_contributed_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</p>
        <p>{lang_views} {story_hits}</p>
    </div>
    <div class="story-body">
        {story_anchortag_and_image}{story_text_no_br}
    </div>
    <div class="story-footer">
        <p>{page_selector}</p>
        <p>{readmore_link} {post_comment_link}</p>
        <p>{plugin_itemdisplay}{comments_with_count} {trackbacks_with_count}</p>
    </div>
</div>
<div class="block-divider"> </div>
 


I'm not sure what I'm supposed to change in there, or where that pesky <b> tag you mentioned is to be found...
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
ok it is not there. You seems to have a opening stong ou b tag in the feature story "Welcome to the SCS/NLP Blog!" just before Stay current with SCS Blog entries by following SCSMattersLLC on Twitter... and no closing tag.

You need to close this tag to solve your problem.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

SDWebWorks

Anonymous
OH MY GOSH THANK YOU!!!

What a simple problem for a change. I was looking for much more complicated causes.
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 04/08/03
Posts: 1298
There is also a { before "Contribute "
 Quote

All times are EDT. The time is now 03:10 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content