Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    3
    Member #
    34015
    I'm using The Furniture Store Theme from ThemeForest and haven't really had to play around with the templates before. I want to add some text to the right of the logo (between logo and search/basket) but everything I have tried so far puts it above the logo or below it, not aligned to the right side of it. Any help would be appreciated. Here is a link to the site and I'm attaching an image of where we would like to put the text.
    Attached Images Attached Images

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    It's because the logo is inside of an h1 tag. h1 tags, by default, are block-level elements.

    So, to fix it, all you need is to add this rule to your #branding element in your CSS file:
    Code:
    display:  inline;
    margin-right:  (whatever you want your spacing between the logo and the text to be);
    You'll be good to go after that.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    3
    Member #
    34015
    Ok, so the default CSS file, here is what is currently in there for branding:

    Code:
    #branding {font-size:2.0em;margin-bottom:0;width:290px;height:50px;text-indent:-9999em;background:url(images/logo.png) no-repeat top left;overflow:hidden;/* this is for Opera!*/}
    
    #branding a {float:left;display:block;width:290px;height:50px;}
    To insert this, do I need to just add it like this below the above code:

    #branding display: inline;
    #branding margin-right:2cm;

    Thanks for the help.

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Add it inside of the #branding section.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Junior Member
    Join Date
    Nov 2012
    Posts
    3
    Member #
    34015
    Unfortunately I'm still having issues with this. While this would probably be really easy for some people, I am still learning CSS. I would be willing to pay someone if they could give me a hand with this. Hit me up on Skype if interested.

    Edit..

    I ended up cheating and making it part of the logo.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:33 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com