CSS + PhP Issues.

[COLOR=#FF1493]Hi, im currently trying to install a mod. When i get to the installation of a menu and pop notification…[/COLOR]

[code]> To install JGrowl Notification, edit your index.php and place the following line within body:

    <?php $_GET['site']=='sc_cupinstant' ? '' : include("sc_cupinstant.php"); ?>

-> To install any of the following, edit index.php and place the following code(s):

 -- display latest matches (including cup navigation)
    <?php include("sc_cupmatches"); ?>

 -- display cup navigation only
    <?php include("cup_navigation.php"); ?>[/code]

If i add any of those to index.php the theme is unaligned and everything looks bad. Can you please tell me why or help me?

(Fixed) | - [php]config.php “Custom Style” padding:4; to :0; [/php]

I need help now with another problem.

when i add [php]?php include(“cup_navigation.php”); ?[/php]

to [COLOR=#FF4500]index.php[/COLOR] im not adding

etc… im just tossing it anywhere i want.
the problem is when i add that. i get this weird css issue. please help ill leave it bugged out so u can visit site and see. It the cup navigation at the top of the page. It wants to grab the
[php]Background: img [/php] for [php]id=menu[/php].
the site is http://cybro.net/
I am willing to pay experienced users to help me modify my site and get everything working. money is not an issue!!!

I know the problem is in the css of the site, the “Theme” has a master stylesheet that overrides anything u add, and forces it to use its variables.

By editing the [php]overflow:hidden;[/php] in index.css Changing from hidden to visible, so the overflow of the drop down menu is not hidden once it leaves the boundary of said objects defined in the .css fixed the missing menu.

The problem exist where the menu instead of just being its little self, wants to grab an img and make it self have like a border… please help, i just want the tiny menu, not the green rectangle bar behind it… TYVM!

im messing with
[php]background-image: url(…/images/kg/menu.png);[/php]
i replaced it with login.png and it looks ok and i remove a fire_coverage.png that looked out of place.

i also removed the images/cup/icons/next.gif from cup_navigation.php because it was aligned all weird.

I tinkered some more, and instead of removing images i edited the main menu bar (same one that attaches itself to “Cup Navigation” Drop down menu) and make it a transparent image, that took care of the problem a little more better.

What i want is to create a special little thing to give my menu its own properties not copied from the main _Stylesheet or css where ever it is, ive read every file in the theme and im still lost, im kinda new at this stuff.

… so is there anyway to change

[COLOR=#FFA500]#menu [/COLOR]{
margin-left:0px;
margin-top:0px;
width:941px;
height:59px;
margin-bottom:0px;
float:left;
display:inline;
[COLOR=#FFA500]background-image: url(…/images/kg/login.png);[/COLOR]
overflow:visible;
[COLOR=#FFA500]word-spacing: 18px;[/COLOR]
text-align:center;
padding-top:11px;
background-repeat:no-repeat;
}

[COLOR=#FF0000]but edit it to make my own rule like [/COLOR]

[COLOR=#FFA500]#cupnavi[/COLOR] {
margin-left:0px;
margin-top:0px;
width:941px;
height:59px;
margin-bottom:0px;
float:left;
display:inline;
[COLOR=#FFA500]background-image: none;[/COLOR]
overflow:visible;
[COLOR=#FFA500]word-spacing: 2px;[/COLOR]
text-align:center;
padding-top:11px;
background-repeat:no-repeat;
}

??

[/ALIGN]

Really need help

I would have to say, it would be a little work to understand your entire site’s issues. It appears you have a lot of CSS that might be the issue. A couple of quick thoughts:

When you add a line like this: <?php include("cup_navigation.php"); ?>
It basically just takes whatever is inside that file and dumps it wherever you put that code. So, this can cause a lot of issues depending on where you placed and what is inside of the page. Sometimes you can fix this by just including the file inside of

tags with styling that fixes the appearance of the code inside the page. Sometimes it is just a case of placing the extra code in a place that is not displayed. It really depends on what is inside that file. Your explanations were not really clear on the insides of that file and where you were placing it.

Lastly, JGrowl is some sort of notification system. So, I would guess that most of that code is just code and should be above the BODY of your page. Since it is PHP code, it would run server-side and should not be needed inside the BODY of your page. I would assume that since the actual notifications are created using JQuery as JGrowl says, that you would then use Javascript to call the routines and that the “cup” is where the messages are stored. Just a guess without learning how to use this.

Not sure if all this helps. Good luck with your project. The site is very nice looking! Oh, many people here would help for money. If you want to talk about that, send me a private message. But, I suspect, this is a simple problem of not understanding how to set up the JGrowl system. It looks simple as far as I can see.
Let us know if you have any further questions on this…

thanks for the reply, i know that i didn’t give enough info i’m sorry about that. the jgrowl notification is working as it is supposed too, the thing is. the Cup navigation is what i need…

this is my site’s layout. i’m using web-spell cms…

index.php

has body etc, but instead of defining/styling most things that you would there (root/index.php or root/css/index.css)

it is defined in (root/kg/block1, block2, block3 and block4, along with other php files, and the index just calls those files, and the actual styling is in those “Blocks” 1234 as u can see my site is in 4 sections from top to bottom,

login/news/vid’s,matches,and forum post/sponsors, copyright’s…

and about just being a little problem, i am willing to pay a full time coder to work with me on other projects, but PREFERABLY i need someone with skills in the following,

C
C++
Java
Flash
php/css/html, etc etc.
Unreal Engine (C,C++,Java)
Source SDK (C,C++)
i know all of the things listed, but it’s self taught, and i know little things in all of it never honed my skills in one area.

I’d rather “pay” a coder that can help me 10 fold then pay 10 coder’s u know?

also think of it as a partner ship, i’m starting an online business and well if a “coder” helped me do ALL the things i want and if your a good coder in the things i asked, the things i want are easy to do for u :slight_smile: EASY MONEY! , well we would be rolling in the $$$$$. so anyone interested please pm me, or if u think u could help with just the website pm me id still pay, but only depending on the amount of work you had to do.

I am facing the same issue since long and can’t find a proper working solution to it.So if any can please help me in finding it, it would be a great help.
load board

Sponsor our Newsletter | Privacy Policy | Terms of Service