Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Which version to download?: Elxis 4.0 and Elxis 2009.3 comparison
 
Pages: [1]
  Print  
Author Topic: Edit 404 and footer pages? (Elgrey template)  (Read 3015 times)
Dennis
Jr. Member
**
Offline Offline

Posts: 55


« on: October 20, 2009, 15:35:31 »

Greetings.

I like to add my logo in heeder of the 404 page to the right but, my css knowledge is just basic and wonder how I can make it happen:

Quote
<div class="top">
      <div class="top1" align="<?php echo _GEM_RTL ? 'left' : 'right'; ?>">
         <img src="<?php echo $mosConfig_live_site; ?>/images/M_images/404warning.jpg" border="0" alt="warning" />
      </div>
      <div class="top2">
         <span class="toptitle"><?php echo _ELX_ERROR; ?> 404</span><br />
         <?php echo _E_PAGE_NOTFOUND; ?><br />
         <span style="font-size: 13px;"<?php echo _GEM_RTL ? ' dir="rtl"' : ''; ?>><?php echo $_SERVER['REQUEST_URI']; ?></span>
      </div>
</div>

Footer:
I found this info and followed them
http://forum.elxis.org/index.php?topic=2081.0

But, I have black text on black background (Elgrey template), as there are many css files that has the info,
in which css file can I find the footer info that I need to change the text color code?
(do I have to change them in all css files?)

Also,  like to change the grey color on the body to white, (the part of the page which you read the content)
How and where do I edit the color code?

Regards
Dennis
Logged
Ivan Trebješanin
Elxis Team
Hero Member
*****
Offline Offline

Posts: 1646



WWW
« Reply #1 on: October 20, 2009, 15:49:37 »

Hi Dennis,

I suggest you to install this: https://addons.mozilla.org/en-US/firefox/addon/60
Then you can see what are the objects on page, and what CSS is related to.

PS
I assume you are using firefox, if not you should definetly start using it. Smiley
Logged

I've got a snap in my finger...
Got rhythm in my walk...
Dennis
Jr. Member
**
Offline Offline

Posts: 55


« Reply #2 on: October 20, 2009, 17:18:12 »

Thank you Ivan.

I prefer Opera but use firefox too but, the link you provided do not work for me and I cannot find this module on firefox site!


Logged
Ivan Trebješanin
Elxis Team
Hero Member
*****
Offline Offline

Posts: 1646



WWW
« Reply #3 on: October 20, 2009, 18:29:30 »

What do you mean "not working"? Strange... anyway, addon is called Web Developer, I'm sure you will find it on firefox addons site.
Logged

I've got a snap in my finger...
Got rhythm in my walk...
Dennis
Jr. Member
**
Offline Offline

Posts: 55


« Reply #4 on: October 20, 2009, 18:49:27 »

When I click the link, it just keeps on loading the page and nothing happen!

If you have the name for these addon, I might be able to search for it.

I get loads of addons when I search for "Web Developer"!


Logged
Gashnark
Newbie
*
Offline Offline

Posts: 33


Gashnark


« Reply #5 on: October 20, 2009, 19:58:36 »

Hi Dennis,

I suggest you to install this: https://addons.mozilla.org/en-US/firefox/addon/60
Then you can see what are the objects on page, and what CSS is related to.

PS
I assume you are using firefox, if not you should definetly start using it. Smiley
The link is working for me.
I suggest Firebug add on to; https://addons.mozilla.org/en-US/firefox/addon/1843
It's very useful for developing & cascadestyling.
« Last Edit: October 20, 2009, 20:00:15 by Gashnark » Logged
Dennis
Jr. Member
**
Offline Offline

Posts: 55


« Reply #6 on: October 21, 2009, 00:19:15 »

At the moment I'm in Africa and that might explain why I cannot access the addons!
I cannot even check for updates for those I already have! (I still prefer Opera! no such issues!!!)

As the footer and the 404 page is one of the small edit I need to do before I move the site,
are there any other solutions so I can finish this task and move my site?

 
Logged
ks-net
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2075

Kostas Stathopoulos


WWW
« Reply #7 on: October 21, 2009, 01:28:15 »

includes/error404.php 

in head section add or modify the ..

body { overflow: auto; background-color: #FFFFFF; }



and if other classes you need ... go ahead modify there.. at this file's head-section(inside <style>)

there are all there and this error-page does not load any tpl-css file.... i have no idea... how the bg of the elgray-tpl appears there.. totally no idea!


Logged

Dennis
Jr. Member
**
Offline Offline

Posts: 55


« Reply #8 on: October 21, 2009, 12:23:41 »

Thank you

What I want is to add my logo on right on the 404 page, see css code in my first post.
What I need is where to place the code for my logo so it appear on right side.


includes/error404.php 

in head section add or modify the ..

body { overflow: auto; background-color: #FFFFFF; }

Logged
Gashnark
Newbie
*
Offline Offline

Posts: 33


Gashnark


« Reply #9 on: October 21, 2009, 17:47:47 »

Hi there!
if you want to change your logo position, and you are not using RTL layout, you can change on your error404.php file the line number 60.

Code:
56- .top1 [
57- width: 25%;
58- margin: 0;
59- padding: 0 20px;
60- float: <?php echo _GEM_RTL 'right' 'left'?>;
change it to
Code:
float: right;
Logged
Dennis
Jr. Member
**
Offline Offline

Posts: 55


« Reply #10 on: October 22, 2009, 14:18:52 »

I want to “add” my logo on the right side of the 404 page, not move anything.

As I cannot see how to link to the logo as all I have is the:

Quote
float: <?php echo _GEM_RTL ? 'right' : 'left'; ?>;

My question is still, how can I add my logo on right side on the page?
Logged
Pages: [1]
  Print  
 
Jump to: