Loading...
 
Skip to main content

Development


designing layout issues

I was trying to style a div on a page and i had id numbers and when i placed my css style into the style sheet it just didnt work i know my code works because i had to ad all the style inline instead. This is supposed to be a greate system but there are many issues when it comes to styling and the editors dont help either they tend to ad 's instead of using tags i hate having dirty code. one other thing you have the ability to list the articles that are submited or added but what about listing all the wiki pages in a module. Could use some insite on these issues wish we went with joomla and just integrated wiki into it it would probrobly be alot easier to style it.

What exactly did you try? There shouldn't be a problem. There are different methods. You can use inline styles or give the div a class or id name and add the CSS for it on the Look and Feel admin page, in the custom CSS textarea.

Not sure what you mean by "the editors don't help." I don't use the WYSIWYG editor in Tiki, so don't if custom styles can be added, but I have no problem styling divs using the normal wiki editor, sometimes using wiki syntax and sometimes using HTML.

Anyway, if you give the specific details, like the CSS you want to apply and what editor you tried with, there'd be some way to know why it didn't work for you.

-- Gary - ZukaThemesQuestion

Gary Cunningham-Lee wrote:

What exactly did you try? There shouldn't be a problem. There are different methods. You can use inline styles or give the div a class or id name and add the CSS for it on the Look and Feel admin page, in the custom CSS textarea.

Not sure what you mean by "the editors don't help." I don't use the WYSIWYG editor in Tiki, so don't if custom styles can be added, but I have no problem styling divs using the normal wiki editor, sometimes using wiki syntax and sometimes using HTML.

Anyway, if you give the specific details, like the CSS you want to apply and what editor you tried with, there'd be some way to know why it didn't work for you.

-- Gary - ZukaThemesQuestion


here is the piece of code i was inserting into a page




module 1

module 1

module 1



module 1

module 1

module 1







here is the css i added to my style sheet::

  1. hpcolcontainer {

overflow:
background: #6699CC; /* for non-css3 browsers */
background: -webkit-gradient(linear, left top, left bottom, from(#4578AB), to(#6699CC)); /* For Webkit Browsers */
background: -moz-linear-gradient(top, #4578AB, #6699CC); /* for Firefox */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4578AB', endColorstr='#6699CC');
/* for IE */
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
height:30px;
width:100%;
}

  1. hpcolcontainer table tr td h1 {

font-size: 18px;
line-height: none;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 20px;
padding-top:5px;
color:white;
display:block;
height:25px;
}

  1. hpcolcontainer table tr td p {

line-height: none;
margin-left: 20px;
margin-top: 5px;

}

i also cannot find a way to list all the new pages and articles in a single list instead of having one list for each when you do list_submissions it only lists the articles that are submitted but not the articles and wiki pages that have had changes made from users


Your HTML markup was stripped from the post unfortunately; the {CODE()}{CODE} plugin should be able to display it; also, Tiki uses a # at the left margin to indicate an ordered list item, in case you're wondering where the "1."s came from. Anyway, I don't see a problem (assuming the HTML is ok) except that the "overflow: " in the first rule isn't closed with semicolon.

To simplify the test, why don't you try a simple rule, like #hpcolcontainer {background: yellow;}. Then if this works, add your CSS maybe part at time until something breaks.

So you added your CSS rules to the theme stylesheet that is being used? (Just checking.)

Right, list submissions is only for CMS articles submitted to be ok'ed for publication. For the most inclusive list of new and updated items at the site, there's a "Since your last visit" module.

-- Gary - ZukaThemesQuestion