I need some help with css please -...

User 188640 Photo


Registered User
895 posts

The site I'm building is in need of some css work. I have done a little in the past and have already fixed a few things on this site.

There are a couple of things I can't seem to fix even after searching the web for answers.

First, I have a logo that I want to center on the pages. Here's the code where it resides:

<div class="row logo">
<div class="coffee-span-12 column-17"><img class="logo logo-2" src="images/pana_vista_lodge_logo.png" alt="Logo">
</div>
</div>

I have used the align="center" on all the pages except the history page just to get the logo centered for now. So look at the history page if you need to look online. I'll put a link at the end of the post. I have tried every combination of class entries without any success.

Second, I have some text with a link under the footer and want it to be all black. The links are a light blue and I don't want to change them, just this link under the footer. Here's the code:

<div align="center" class="attribution">Designed &amp; Hosted By <a href="http://www.e-and-l-products.com"><font color="#000">E &amp; L Products</font></a></div>

This is the way I have the footer so it looks like I want it to look and I want to get this formatting in the css file.

So, what class do I use to format these parts of the site?

http://www.mytestblog.net/master/history.html

Thanks for any help,

Ernie
A Rose is Just a Weed in a Corn Patch!
User 2484360 Photo


Registered User
3,293 posts

Hey there,

Why not center the logo in RLM? Set the image to Display:Block, and set the left and right margin to auto.

That will center your logo. :)
User 188640 Photo


Registered User
895 posts

Adam,

I didn't realize I could do that in RLP. Worked great. Thank you.

I still have a lot to learn about RLM but from what I've seen and put in my brain so far, I really like RLM.

Now I just have to fix the rest of the pages with the logo and that part is done.

Thanks,

Ernie
A Rose is Just a Weed in a Corn Patch!
User 2484360 Photo


Registered User
3,293 posts

We all have things to learn!

If you set a class to your logo those settings will pass to each page. :P
User 188640 Photo


Registered User
895 posts

Adam,

I had set a class to the logo and just found out all the pages were updated. All I had to do was take out the align code I had inserted. :cool:
A Rose is Just a Weed in a Corn Patch!
User 2484360 Photo


Registered User
3,293 posts

See you did it right all along. :) Keep it up and your site will be done in no time. :P

Did you also add the export path to your images in RLM?
User 188640 Photo


Registered User
895 posts

Yes, I figured that one out after a couple of exports and having to manually enter the images. That's a real time saver.

Now I'm going to see if I can get the link color in my 'under the footer' div changed in the css without doing it the old way with the tag in the site code.
A Rose is Just a Weed in a Corn Patch!
User 2484360 Photo


Registered User
3,293 posts

You could break that into two text elements in RLM that way you can color the link element.

When Text Editing is added to RLM you will be able to color the link in RLM itself, you can color each letter a different color if you wanted all while assigning them with their own class so it can be used anywhere in your project.

Such good things are coming! :)
User 188640 Photo


Registered User
895 posts

I'm not sure I understand what you mean.

I'm using this as an attribution link for my website (which I have to completely rebuild) and the part that I need to change is the link color.

Do you mean have two text boxes in the one div and format them side by side?
A Rose is Just a Weed in a Corn Patch!
User 2484360 Photo


Registered User
3,293 posts

Ernie Hodge wrote:
Do you mean have two text boxes in the one div and format them side by side?


Well, you can do it a few ways.

One is to add a text element and a text link in the same column and float them.

Or...

You can divide the column into two and add each to one column. Aligning the first to the right and the second element to the left.

Or...

Configure the link after Export.

The choice is yours on how you want to accomplish this but I find doing as much as possible in RLM makes things a lot faster. Even if it takes some time to figure out how to do it. :P

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.