News:

Wondering if this will always be free?  See why free is better.

Main Menu

How to remove boarders around text buttons

Started by Shawnchapp, August 01, 2010, 11:21:56 AM

Previous topic - Next topic

Shawnchapp

I've added my own buttons to the main nav and adding buttons for "Reply", New Topic" stuff like that but i need help
Where do i got to remove the background images in the picture below
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

Joker™

can you tell us what code exactly you have added ?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Shawnchapp

Quote from: Joker™ on August 01, 2010, 11:23:02 AM
can you tell us what code exactly you have added ?

For the main nav i went to the subs.php and removed the first line and replaced it like this

$buttons = array(
'home' => array(
'title' => '<img src="http://thevault.co.cc/forum/Themes/raven_203/ImagesCustom/home.gif" alt="" />',
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
'is_last' => $context['right_to_left'],
// 'target' => '_blank',


And for Reply in the index.english.php i replaced

$txt['reply] = 'Reply;

with this

$txt['reply'] = '<img src="http://thevault.co.cc/forum/Themes/raven_203/ImagesCustom/reply.gif" alt=""/>';
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

Shawnchapp

Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

gbsothere

Quote from: Shawnchapp on August 01, 2010, 06:02:02 PM
So no one knows how to?


Don't get your hopes up, Shawnchapp, that I might know, but let me ask:  what theme is that?  Also... that "Post Reply" button.... that doesn't look like a border as much as it looks as if it's imposing itself on top of an already existing button. 

Does your theme have actual button images, or does it use .css to generate them?



EDIT:  I see the name of the theme in your link.  Let me see if I can find it on the Themes pages.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

CapadY

Quote from: Shawnchapp on August 01, 2010, 06:02:02 PM
So no one knows how to?

Don't bump whithin 24 hours.
Several helpers deniy helping this kind of bumpers within short time.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Shawnchapp

Quote from: gbsothere on August 01, 2010, 06:06:16 PM
Quote from: Shawnchapp on August 01, 2010, 06:02:02 PM
So no one knows how to?
Does your theme have actual button images, or does it use .css to generate them?

EDIT:  I see the name of the theme in your link.  Let me see if I can find it on the Themes pages.

No my theme doesn't, its the same kind of buttons on this site that was there before..

http://custom.simplemachines.org/themes/index.php?lemma=2049
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

gbsothere

Take a look at your theme's index.css file (for instance search for the word "reply").  This seems to be where the buttons for your theme are generated.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Shawnchapp

Quote from: gbsothere on August 01, 2010, 06:20:54 PM
Take a look at your theme's index.css file (for instance search for the word "reply").  This seems to be where the buttons for your theme are generated.

this is what i find

}
ul.quickbuttons li.reply_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;
}
ul.quickbuttons li.reply_all_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px;



So do i just delete it?

I did ask the same question i did here in the theme help thread but the creator said it had nothing to do with his theme.....

EDIT: Well i looked what the picture is and it can't be the right codes I'm looking at Lol
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

gbsothere

Quote from: Shawnchapp on August 01, 2010, 06:29:50 PM
So do i just delete it?

I did ask the same question i did here in the theme help thread but the creator said it had nothing to do with his theme.....


He may have meant that if you change the look of his theme, that he's not willing to provide support.   :)

You may want to test it on a local machine before committing it to the server.  It seems to be, based only on a superficial glance, that if you've uploaded your own buttons, then changing the url in the index.css to reflect the location of your buttons should be okay. 

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Shawnchapp

Quote from: gbsothere on August 01, 2010, 06:33:53 PM
He may have meant that if you change the look of his theme, that he's not willing to provide support.   :)

You may want to test it on a local machine before committing it to the server.  It seems to be, based only on a superficial glance, that if you've uploaded your own buttons, then changing the url in the index.css to reflect the location of your buttons should be okay.

Nah he said "I can't help you with That ..

...it's a Curve Copy is all .."


I've looked in the index.css there don't seem to be any mention of the bottons whatsoever.... except those 2 reply ones.... not other buttons are mentioned Like new topic, poll... so it lead me to beleive thats not the right file...
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

gbsothere

Quote from: Shawnchapp on August 01, 2010, 06:40:50 PM

Nah he said "I can't help you with That ..

...it's a Curve Copy is all .."


I've looked in the index.css there don't seem to be any mention of the bottons whatsoever.... except those 2 reply ones.... not other buttons are mentioned Like new topic, poll... so it lead me to beleive thats not the right file...



Well.....   now I'm confused.   :)

The link to the image you posted below, as well as the screenshot are for the Raven theme.  You're doing this for Curve, now?
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Shawnchapp

Quote from: gbsothere on August 01, 2010, 06:44:47 PM
Well.....   now I'm confused.   :)

The link to the image you posted below, as well as the screenshot are for the Raven theme.  You're doing this for Curve, now?

No for raven but i guess the creator of raven just used curve to make raven.... idk
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

gbsothere

Quote from: Shawnchapp on August 01, 2010, 06:48:30 PM

No for raven but i guess the creator of raven just used curve to make raven.... idk


Well, but he included his own index.css, just as the Curve (default) theme has its own index.css and, searching in his, I'm able to find images for "Quote", "Modify", "Reply", etc.  Are you wanting to change all the buttons on the theme, or just in the posting area?

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Shawnchapp

Quote from: gbsothere on August 01, 2010, 06:52:17 PM
Quote from: Shawnchapp on August 01, 2010, 06:48:30 PM

No for raven but i guess the creator of raven just used curve to make raven.... idk


Well, but he included his own index.css, just as the Curve (default) theme has its own index.css and, searching in his, I'm able to find images for "Quote", "Modify", "Reply", etc.  Are you wanting to change all the buttons on the theme, or just in the posting area?

mostly all buttons but not every single one, and arn't those ones for the text ones with the little picture beside them? i know how to change those pictures I'm talking about the ones on top( Like New topic, Mark read, Nodify, ect) including the main nav...
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

Hj Ahmad Rasyid Hj Ismail

IMHO it is css. If you are using SMF 2.0 RC3, open your index.css and check your dropmenu and its background image. The default is menu_gfx.png which may not be suitable to your background / theme. You may want edit the image file or the related css that use that image accordingly.

Shawnchapp

Quote from: AbuFahim⎝⏠⏝⏠⎠ on August 01, 2010, 06:57:41 PM
IMHO it is css. If you are using SMF 2.0 RC3, open your index.css and check your dropmenu and its background image. The default is menu_gfx.png which may not be suitable to your background / theme. You may want edit the image file or the related css that use that image accordingly.

I'm not talking about drop down menus I'm talking about the main buttons.... and i don't need the background images whatsoever my bottons have words of them already...
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

Hj Ahmad Rasyid Hj Ismail

Quote from: Shawnchapp on August 01, 2010, 07:06:37 PM
Quote from: AbuFahim⎝⏠⏝⏠⎠ on August 01, 2010, 06:57:41 PM
IMHO it is css. If you are using SMF 2.0 RC3, open your index.css and check your dropmenu and its background image. The default is menu_gfx.png which may not be suitable to your background / theme. You may want edit the image file or the related css that use that image accordingly.

I'm not talking about drop down menus I'm talking about the main buttons.... and i don't need the background images whatsoever my bottons have words of them already...
In my experience it does related to menu_gfx.png.

Shawnchapp

#18
Quote from: AbuFahim⎝⏠⏝⏠⎠ on August 01, 2010, 07:08:29 PM
In my experience it does related to menu_gfx.png.

I don't see how its that image its not even the same colour...

And if it is that image how do i remove it.... without messing everything else up?
Any man who knows a thing knows
He knows not a damn, damn thing at all
And every time I felt the hurt
And I felt the givin' gettin' me up off the wall

Hj Ahmad Rasyid Hj Ismail

As you can see in this forum itself the hover menu color and active post menu color is the same. They are calling from menu_gfx.png from the same line. Remove the unwanted line using software like photoshop or gmip. Or your can edit you relevant css using menu_gfx.png so that it would not use it any more.

Advertisement: