Jump to content

yesdavy

Member
  • Posts

    42
  • Joined

  • Last visited

Posts posted by yesdavy

  1. Please see the siteand scroll down.

     

    You will notice 7 paragraphs of RSS text just above the contact form.

     

    The RSSImport widget has been removed from the sidebar.

     

    Okay, you may not see the sidebar text. because when I deactivate the RSSImport Plugin it goes away but when I activate it again the text comes back. I will leave the text visible for now with the plugin activated in case anybody has an idea on how to fix the issue permanently.

     

    Thanks!

  2. The way I do it is instead of using id="wrap" I use a class="wrap". for example:

     

    
    .wrap{ width:940px; margin:auto; }
    
    #header{ width:100%; background:...; ....;}
    
    
    <body>
      <div class="wrap">
         <!-- navigation/logo here -->
      </div>
      <div id="header"> <div class="wrap"> <!-- I assume you still need the wrap for header content, and use header for 100% background --></div>  </div>
      <div class="wrap">
        the rest of you content
      </div>
    </body
    
    

     

    And of course you could do the same thing for your footer if you wish

     

    Great, I will have to study this and figure out where in the style.css it has to go. Will it replace anything or just stand alone as you have indicated? Please excuse my beginner questions as I am quite inexperienced at this. Also, if you know how to get rid of the horizontal scroll on http://traditionalgolfsociety.com I would love to know that. I was told by someone to change something in a dynamic theme file (style-weaver.css or something like that) but I could not find such a file. Finally, let me say that I really like Manchester from the 4 occasions of visiting there.

     

    Afterthought - could this code you have shown be used in the Weaver theme advanced options here domain/wp-admin/themes.php?page=functions.php where they allow you to put in code without touching the style.css file such as <Head> section

    <!-- Add your own CSS snippets between the style tags. -->

    <style type="text/css">

    </style>

    or in HTML code insertion areas such as Pre-Header Code, Site Header Insert Code, or Post-Header Code?

  3. There is no css or html code for that type of numbering format. You will have to apply them manually with something like this:

     

    <li>

    <span class="count">2.1.1</span><a href="url">Title</a>

    </li>

     

     

    span.count {

    width: 40px; /*adjust the width as desired*/

    }

     

    You could search to see if there is a jquery script that will do something like that for you.

     

    Thank you, Eddie!

  4. Ok - so I cut my walk short (stupid dogs - I'm tired of being pulled down the street) and I'm looking at our HTML on the About page -and it really is a mess. Just to get to the part where the text starts, you have a boatload of containers - most are unnecessary.

    Focusing on the entry-content division:

    • The table does not belong here - not only that, it's a one-cell table!! That even defeats the purpose of the essence of a table.
    • there are 2 ul tags around the navigation
    • "introduction", "Traditional Golf Concepts" and such are HEADERS and should be styled with <h> tags, not p strong.
    • Empty p tags are simply bad coding
    • There should not be any inline styling, and you have loads in that section -and all the same stuff. Inline styling should really be used only when something happens only one single time in an entire site, certainly not for repeat paragraph styling.
    • Visually, that big empty left sidebar / the content stuck so far to the right just look wrong. You could either use the sidebar for that secondary navigation, or spread the content out across the entire space

    Looking at one page via the firebug really helps to understand how things belong together, but with all those containers here, things are very muddled and complex. I also found some CSS where font size is defined in percentage. That probably explains why the changes we suggested affected the home page in a bad way. It probably would take me all day to get this all lined out and figure out what CSS affects what part of which page, and I don't have that kind of time. Maybe someone else here has a better eye and can find the connections just by looking, but I have to pass.

     

    Hopefully, what I said above and in earlier posts at least helps you along a bit, but other than that, I opt out of this one.

     

    Very helpful indeed, Andrea. I have been drafting the content in Word in a table adjusted to the approximate width of the live content area and when copying the data to the live site I inadvertently copied the table as well in two instances. Thanks so much for pointing it out.

  5. You need to study all that code - see how the html is divisioned, what classes/IDs apply to what parts, and find the appropriate CSS to affect what you want. It's doable, but very time consuming due to the current html/css mess. We tried, but just using Firebug or the Webdeveloper toolbar is not quite the same as having actual access.

     

    Will the attached file help?

    TGS stylecss.txt

  6. Try adding 'p' to this part - it's kind of hard to tell, but via 'modify CSS', it looked like it might work.

     

    /* Main global 'theme' and typographic styles */

    body {

    background: #f1f1f1;

    }

    body,

    input,

    textarea,

    p {

    color: #666;

    font-size: 11px;

    line-height: 18px;

    }

     

    But overall, you need to look through this code- it looks like there are duplicates (example my solution and Eddie's) - tables aren't a good way to go, neither are empty p tags and all inline styling, like 'align="left", is not good practice, either.

     

    Now the RSS widget font is the same size as the content font, but only on the About page. The Rules page is still too large. And the content on the About page is two different sizes. The body font is fine but the ul at the top remains too large.

  7. Try changing the body font size in your template theme's stylesheet:

     

    body, input, textarea {

    color: #666666;

    font-size: 12px;

    line-height: 18px;

    }

     

    This did indeed reduce the content font but it also reduced the RSS widget font proportionately as well. I tried to find RSS and widget textareas but couldn't locate them. Ideally, I'd like them both at 11. What am I missing here?

  8. Your ##site-description div is too wide. Adjust the width to be about 40%;

     

    I have been trying to figure this out. The site description in all of the sites is identical:

    #site-description {

    clear: right;

    float: right;

    font-style: italic;

    margin: 14px 0 18px 0;

    width: 220px;

     

    I am not understanding what you said about the left margin is different on the TGS site that has the horizontal scroll bar I am trying to eliminate. Per above, it is identical in all 3 sites.

  9. Try changing the body font size in your template theme's stylesheet:

     

    body, input, textarea {

    color: #666666;

    font-size: 12px;

    line-height: 18px;

    }

     

    Thanks, Eddie, would that be style.css ?

     

    Or would it be one of these:

    RTL Stylesheet

    (rtl.css)

    Stylesheet

    (style.css)

    Visual Editor RTL Stylesheet

    (editor-style-rtl.css)

    Visual Editor Stylesheet

    (editor-style.css)

    wvr-admin-style.css

    (wvr-admin-style.css)

  10. Site traditionalgolfsociety.com/home is widget RSS content and /about is content. Would like the content font throughout the site to equal the widget font as shown on home page. Cannot find how to do this so any help will be most appreciated. Thank You!

  11. Site traditonalgolfsociety.com showing horizontal scroll bar whereas two other sites markdex.com and persimmontour.com both using the same Weaver theme do not show it. This seems so simple but I am baffled. I have checked the wp-admin functions.php and all the settings seem in order. Any suggestions? Thank you.

  12. I don't think you can change that, that link is part of the RSS you're importing.

     

    Also, you have 69 validation errors, are using an HTML 5 doctype, but instead of using HTML5 tags, you have a slew of deprecated tags and inline styling.

     

     

    Do you mean that the WordPress theme is html5? Is there an app for searching it to locate the html tags and change them to html5? Are these the validation errors you referenced?

  13. Does anybody have any solutions for pulling photos and videos or other graphics via RSS into a WordPress site? First, need a source for daily financial news relevant images and then how to get them to view on my site rather than link back to another site. There are public domain images but so many I am having a hard time finding what is needed.

    Thanks!

  14. <!-- Start FreeStockCharts.com WatchList Widget --><p width="100%" align="center"><iframe width="300" height="120" scrolling="no" frameborder="0" style="border:none;" src="http://widgets.freestockcharts.com/WidgetServer/WatchListWidget.aspx?sym=DIA,NYSE,COMPQX,SPY,CAC&style=WLBlueStyle&w=300"></iframe></p> <!-- End FreeStockCharts.com WatchList Widget -->

     

    This code is taking visitors away from my site site and I cannot figure out how to have it open in a new tab or window. I have used target=blank everywhere imaginable to no avail. Suggestions?

     

    Thanks!

  15. I need to be able to display feeds on my web site with no headers and no borders, select my own feeds, and I really need to have the feed headlines, when clicked, open within my web site, not navigate back to the original web page to open.

     

    Thank you very much for any direction on this.

     

    Davy.

  16. I went to "view source' and did the Ctrl+F for just 'stock chart plugin" and I found 3 occurrences and all are missing the closing slash inside the image tag. Your doctype is XHTML, so the img tag needs to be closed.

     

     

     

    If you search for </div><!--/page --> you find

     

    <!--/sidebar -->  
    <h2 class="right"><a href=http://www.gocurrency.com/ id=gocurrency>Currency Converter</a> 
    <script src= [url="http://www.gocurrency.com/v2/gocurrcalc_t.php?id=53%3E"]http://www.gocurrenc...lc_t.php?id=53>[/url] </script>
    
    
      <hr class="clear" />
    </div><!--/page -->
    </div><!--/wrapper -->
    

    And there you can see the h2 opening, but never closing - find the page that contains that portion of the code and fix it there.

     

    And so forth - it'll take a bit, but it'll be worth it.

     

     

    When I search (Ctrl+F) in Dreamweaver </div><!--/page --> is not found on any page or on style.css so I am missing something here. I knew where this go currency code you found was located and it was an easy fix. The code came from a widget to convert currency so they must have omitted it because I did a select all and copied their code. If I view source and match the line numbers referenced in the W3C validation app, the errors reported in W3C do not appear to exist in view source. I am either really dumb or really confused, probably both.

     

    In re-reading your comment I see that you are using Ctrl+F in view source, duh, I am really dumb. Let me go back over these again. Thanks for now and sorry to bother you, Andrea.

  17. I wouldn't even worry about those kind of errors at this time - some can't be avoided, and you'll just have to live with them. Mainly, look for tags you forgot to close - those are what effects the layout.

     

    I see, so is there any way to use the line info from the validation site you gave me to locate an issue? It shows:

     

    Line 91, Column 255: end tag for "img" omitted, but OMITTAG NO was specified…lt="marketheist freestockcharts stock chart plugin certification" title=""></a>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

     

    I copied "marketheist freestockcharts stock chart plugin certification" title=""></a> and did a Ctrl+ F search in index.php and sidebar.php and style.css but found nothing. How am I to find this in order to correct it?

    I just went back through all the tag errors, about 6 of them, and without knowing how to locate them by line number, I copied relevant information in the tag and did a Ctrl+ F search for all of them in index.php and sidebar.php but nothing is found.

     

    So, I went to view source and located the line numbers referenced in the W3C validation app and the tags the app says are not closed are indeed closed, to wit.,

     

    Line 121, Column 21: end tag for "ul" which is not finished </ul>

     

    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

     

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.

     

    Line 129, Column 5: end tag for "ul" which is not finished</ul> </div>

     

    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

     

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on

  18. I usually use the Firefox Webdeveloper toolbar - but you can go directly there: http://www.w3schools.com/site/site_validate.asp

     

    Wow, this should help a lot! Look at all the errors.

    When looking at the source code it combines several .php files combined together to create the page. The validation app shows the line and column for the source code view. I guess the line and column info is of no use in finding the error locations if I have to go to each individual php file to make the changes. At least I have something to go by now.

     

    How do all these mistakes happen? At first glance, many of these things seem to be in the Word Press theme because I do not recognize having altered them, e.g., <div id="page"><style type="text/css"> and this one was copied directly from Fox News <embed src="http://www.foxnews.com/i/redes/ticker.embed.swf" type="… and many are in the widgets I copied and pasted.

     

    Is it common for WP themes to have invalid code?

×
×
  • Create New...