Results 1 to 10 of 451

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: News & Article Management

    Jonah had it right with the first suggestion, wrapping the complete News article(s) in a Wrapper and applying CSS to the Wrapper.

    I'm not familiar with this Mod but I do wonder about this:

    # !-- eof upload alerts -->
    #
    # <table width="100%" border="0" cellspacing="2" cellpadding="2">
    # <tr>
    # <td class="breadCrumb">&nbsp;</td>
    # </tr>
    # </table>

    <br /><br class="clearBoth />
    Should give the same, blank space, effect.


    Not sure about all the other styling changes suggested by Jonah but the first is where you would start.

  2. #2
    Join Date
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: News & Article Management

    Hi guys,

    I have a quick question. What file do I have to edit to make the writing "Motorcycle News" smaller on this page:
    [FONT=Arial]http://www.xtreme-stunts.com/index.php?main_page=news_archive[/FONT]


    Thanks a lot!!

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: News & Article Management

    Quote Originally Posted by StuntsMovie.com View Post
    I have a quick question. What file do I have to edit to make the writing "Motorcycle News" smaller on this page:
    [FONT=Arial]http://www.xtreme-stunts.com/index.php?main_page=news_archive[/FONT]
    That size is currently controlled by the h1 tag styling in your stylesheet.css. Personally though, I'd override this by adding something like .newsHeader h1 {font-size:??} to your stylesheet_news.css
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: News & Article Management

    Quote Originally Posted by kuroi View Post
    That size is currently controlled by the h1 tag styling in your stylesheet.css. Personally though, I'd override this by adding something like .newsHeader h1 {font-size:??} to your stylesheet_news.css
    I tried to add this line to my stylesheet_news.css. It looks as below. Do I have to edit out the old .newsHeader line because it didn't change anything?

    Thanks again for your patience and help!


    /* News */
    .newsHeadlineText { text-align: center; width: 100%; height: 15px; font-size: .9em; background: #e5edf5; border-left: 1px solid #9a9a9a; border-right: 1px solid #9a9a9a; border-top: 1px solid #9a9a9a; border-bottom: 5px solid #9a9a9a; padding: 3px 0 0 0; margin: 0;}
    .newsHeadlineText IMG { vertical-align: middle; }
    .newsHeader { background: #FFFFFF; height: 30px; font-size: 24px; text-align: center; padding: 0; margin: 10px 0 0 0; }

    .newsHeader h1 {font-size: 8}

    p.articleHeading { font-weight: bold; margin: 0; padding: 0; }
    span.articleHeading { font-weight: bold; }

    p.articleByLine { font-size: .9em; padding: 0 0 0 20px; margin: 0; }
    p.articleByLine SPAN.author { font-style: normal; }
    p.articleByLine SPAN.comments { font-style: italic; }
    p.articleByLine A { text-decoration: underline; }

    div.articleTextBlock { clear: both; padding: 0; margin: 0; }
    div.articleText, p.articleText { margin: 0; padding: 0; }

    IMG.articleImage { border: 3px double #9a9a9a; background: #FFFFFF; padding: 0; margin: 10px 10px 10px 10px; }

    p.newsListingDate { font-weight: bold; text-align: center; margin: 0; padding: 0; }

    ul.articleLinkList { list-style-type: none; line-height: 1.5em; padding: 10px 0 0 0; margin: 0; }
    ul.archiveLinkList { list-style-type: none; line-height: 1.5em; padding: 0; margin: 0; }
    ul.articleLinkList li, ul.archiveLinkList li { background-image: url("../images/icons/news_link.gif"); background-repeat: no-repeat; background-position: 17px 2px; padding: 0 0 0 35px; }
    ul.articleLinkList li.articleStoreLink { background-image: url("../images/icons/news_link_2.gif"); background-repeat: no-repeat; background-position: 17px 4px; padding: 0 0 0 35px; }
    ul.articleLinkList li.articleProductLink { background-image: url("../images/icons/cart.gif"); background-repeat: no-repeat; background-position: 17px 0px; padding: 0 0 0 35px; }
    ul.articleLinkList a, ul.archiveLinkList a { text-decoration: underline; }

    .commentsHeading { background: #f2f1ee; padding: 3px; }
    .commentsBody { background: #FFFFFF; padding: 3px; }
    p.backLink { float: right; margin: 0; padding: 0; clear: right; }
    .commentsAuthor { text-align: left; float: left; margin: 0; width: 45%; }
    .commentsSubject { font-weight: bold; }
    .commentsDate { text-align: right; float: right; padding: 0; margin: 0; }
    div.commentsBody p { clear: both; padding: 0 10px 10px 10px; margin: 0; }

    fieldset.commentsFieldSet { text-align: left; background: #f2f1ee; border: 1px solid #e7e6e0; padding: 1em; margin: 10px 0 0 0; }
    fieldset.commentsFieldSet legend { padding: 0.2em 0.5em; border: 1px solid #c96e29; background: #fff; color: #000; text-align: right;}
    fieldset.commentsFieldSet label { display: block; text-align: left; margin: 3px;}
    fieldset.commentsFieldSet label input { display: block; }
    .commentsSubmit { text-align: right; }

    .splitSolid { height: 1px; background: #000000; padding: 0; margin: 0; }
    .splitSolidGray { height: 1px; background: #9a9a9a; padding: 0; margin: 0; }
    .clearSplit { height: 10px; padding: 0; margin: 0; }
    .splitSolid hr, .splitSolidGray hr, .clearSplit hr { display: none; }

    .clearboth { clear: both; height: 1px; width: 100%; }
    .clearboth hr { display: none; }

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: News & Article Management

    Quote Originally Posted by StuntsMovie.com View Post
    I tried to add this line to my stylesheet_news.css. It looks as below. Do I have to edit out the old .newsHeader line because it didn't change anything?
    Please don't post whole stylesheets. It just clutters up the forum. The reason that this isn't having an effect for you is because you didn't specify any units (e.g. px, em, pt, %) so browsers don't know what to do with the line you added and so just ignore it.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    268
    Plugin Contributions
    0

    Default Re: News & Article Management

    Hello all,

    I would like to this modules display the title of articles not date when click into News [More] . How to do this ?

    Some image:



    KIMSON

    Thanks you!

  7. #7
    Join Date
    Feb 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: News & Article Management

    Hi there happy Zenners. :) I have been playing around with this mod. I thought it just wasn't working at first until I typed =news into the address box and found that it was in fact working there.

    So my dillemma is, I followed the directions on Dream Scape" website in the optional install where you add this:

    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>

    into tpl_index_default.php.

    I did not just copy the page they provided since it was suggested somewhere in this thread not to. It is not showing up on the main page at all. I added it right below the php snippet for the greeting. I was carful to make sure that it wasn't in the middle on some other elements line of code. I did not install the other optional meta thing.

    I am using the current version of ZC and would think that if it was incompatable that it wouldn't work at all wouldn't it?


    Any way here are my links:

    http://www.libragear.com/zencart/index.php?main_page=
    http://www.libragear.com/zencart/ind...main_page=news

    Code on the tpl page to follow...

    Thanks a bunch folks. :) Happy Zen.

 

 

Similar Threads

  1. News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 May 2008, 03:27 PM
  2. Regarding News & Article Management
    By akumi in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 May 2008, 05:27 PM
  3. News & Article Management- couple small problems
    By chufty bill in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Oct 2006, 09:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg