Thread: Byline change

Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2006
    Posts
    57
    Plugin Contributions
    0

    Default Byline change

    Where do I change the byline information at te top right of the layout? Also, is it plausible to change the color of the text?

    Thank you,

    R

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Byline change

    This should aid your question and more;

    http://www.zen-cart.com/wiki/index.php/Top_10_questions

    You can change the font color in your stylesheet, find;

    Code:
    #tagline {
    	color:#000000;
    	font-size: 2em;
    	text-align : center;
    	vertical-align: middle;
    	}
    Change the hex value in the red line to the color of your choosing.

  3. #3
    Join Date
    Aug 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Byline change

    Thank you for the link. It works beautifully. However, if I change that one hex point it changes it all, I was hoping to find a css that was used just for that byline at the top. I am not too savvy with the php code, so if I have to dig deep it might not be worth it...

    Let me know if there is a way...

    Thanks again.

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Byline change

    If changing that one color changes your whole site then there is a problem some place, that define should only be called and applied to the tagline.

    Have you edited your tpl_header.php file ? Do you have more elements that you have set to class="tagline" ?
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Aug 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Byline change

    My Bad, but you are right it shouldn't. Although, I am not sure I have the right stylesheet as all that I have looked at have a black code and my text is grey...

    Now I am stumped....any place I am NOT looking?

  6. #6
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Byline change

    Which version of Zen and what template is the basis for your customizstion ?

    Do you have a URL we can look at to help ?
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  7. #7
    Join Date
    Aug 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Byline change

    Quote Originally Posted by TinaS
    Which version of Zen and what template is the basis for your customizstion ?



    Do you have a URL we can look at to help ?

    Version 1.3.0.1
    (could use assistance with the upgrade as well as I know when I started customizing I wasn't aware it was best to NOT change the original files until it was too late.)


    Using "Classic Template"

    And to see what I mean you can view this at www.successbooksetc.com

  8. #8
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Byline change

    It appears that there is no call to the #tagline at all in this header.

    When I look at it in Firefox with the dev tools it shows only .header as the applied style.

    So, you can define your font color in the .header
    or you can edit the file includes/templates/YOURTEMPLATE/common/tpl_header.php to wrap that text area in <span class="tagline">

    Hope that helps!
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  9. #9
    Join Date
    Aug 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Byline change

    Got it change! Thank you....now have another question but will post in a new forum.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 15 Apr 2010, 05:58 PM
  2. Change language by URL. - Incoming link will change the curency
    By thailandosc in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 10 Jul 2008, 11:41 PM
  3. Why make it so difficult to change things evereyone will want to change?
    By birdoasis in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Jan 2007, 12:01 AM
  4. Replies: 2
    Last Post: 31 Dec 2006, 07:04 AM

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