Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

CSS issue in joomla, Dont understand where it takes the settings from!!

Posted on 2011-03-01
5
466 Views
Last Modified: 2012-05-11
I am makeing a site on http:/new.uffnorge.org

I am using Artister 3.0 to make the template
I am using a Slide show in TOP1 and a green menu on TOP3
Somehow the green menu fills 50% of the with, but I was expecting it to fill only 34%.
See attached picture

Index.php shows:
<?php echo $view->positions(array('top1' => 33, 'top2' => 33, 'top3' => 34), 'art-block'); ?>

In firebug i can see that table is set to 50%
I change this in firebug to 34% and it looks right then

Question:
Where do I edit to change the 50%?
I cant find it in Index.php or Template.css so it must be elsewhere?


CSS-Issues.jpg
0
Comment
Question by:morten444
  • 3
5 Comments
 
LVL 7

Expert Comment

by:Vimal DM
ID: 35008969
hai,

There are two things that you need to concentrate

1) Look that below classes from your joomla template CSS

art-vmenublock
art-vmenublock-body
art-vmenublockcontent
art-vmenublockcontent-body
art-vmenu

class="t"

2) Make view source and see the page,where there is menu problem

a bulk of "span" tags are created having the following classes

<span class="l"></span>
<span class="r"></span>
<span class="t"></span>

look at these too

0
 

Author Comment

by:morten444
ID: 35009152
Hi
Thanks for reply
I have looked and I cant find anything saying "50%"

If I do a text search in my template.css, should I not be able to find 50% as thats what it says in the html window or am I wrong?

I was thinking as I can not see the 50% anywhere it cant be in the template.css where I have to look for the solution. Is that wrong?


Regards
Morten
0
 
LVL 11

Accepted Solution

by:
Amanda Watson earned 500 total points
ID: 35011255
I remember having this problem in Artiseer.
You need to be looking in the functions.php file.

I had something like this

function artxPositions(&$document, $positions, $style)
      {
            ob_start();
            if (count($positions) == 4) {
                  if (artxCountModules($document, $positions[0])
                        && artxCountModules($document, $positions[1])
                        && artxCountModules($document, $positions[2])
                  && artxCountModules($document, $positions[3]))
                  {
                        ?>
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
  <td width="25%"><?php echo artxModules($document, $positions[0], $style); ?></td>
  <td width="25%"><?php echo artxModules($document, $positions[1], $style); ?></td>
  <td width="25%"><?php echo artxModules($document, $positions[2], $style); ?></td>
  <td width="25%"><?php echo artxModules($document, $positions[3], $style); ?></td>
</tr>
</table>


and changed the percentages there..
0
 

Author Comment

by:morten444
ID: 35068396
Hi. Thanks for your reply
I got it fixed but in the index.php file
As artister has top1,top2 and top3 and I only used Top1 and top3, top 2 collapsed
I therefore removed the top2 from index.php and sat top1 to 74% and top3 to 26%
That worked
Your idea above led me to the right place
Thanks
0
 

Author Closing Comment

by:morten444
ID: 35068403
Thanks again
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to Left-Align Navigation bar? 4 34
Capture logon name 13 87
CSS Logo Problem. 2 26
CSS issue in Nested Master Pages 9 26
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question