3 replies [Last post]
ata8
ata8's picture
Offline
Regular
Last seen: 3 years 24 weeks ago
Timezone: GMT+3.5
Joined: 2010-02-09
Posts: 19
Points: 28

hi
i create a joomla template
and my content will show in other pages and i want define border to my content when it shows
and i dont want display this border in front page how can i do this?
sorry for my english

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 3 weeks 21 hours ago
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15650
Points: 2788

Your English is fine and not

Your English is fine and not a problem HOWEVER...

8 posts to date and you still haven't done the forum the courtesy of reading the posting guidelines?

We can't really help based on so little information. Please check out the links in my sig line.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

ata8
ata8's picture
Offline
Regular
Last seen: 3 years 24 weeks ago
Timezone: GMT+3.5
Joined: 2010-02-09
Posts: 19
Points: 28

my problem is this

my problem is this that i can explain what i mean
here is a print screen of front page and other pages
i define border to #content [{border:1px red solid;}]
this div is a place that joomla content code come there and show content
i dont want my content show in front page it is ok but in my front page show a red line in place of content div how can i remove that line

thanks for your reply

AttachmentSize
print-screen.jpg 244.83 KB
Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 3 weeks 21 hours ago
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15650
Points: 2788

You still haven't grasped the

You still haven't grasped the issue? or perhaps you simply didn't read the posting guide lines?

I can't tell you how to remove that border without seeing the code you are using.

One thing you could try is IF that page has or any of the pages have a unique ID to name and identify that page (most apps such as Wordpress, Drupal and I'm guessing Joomla do this ) then where you want that border simply add the unique page identifier to the beginning of the selectors for the border ruleset

#aboupage #container {border:1px red solid;}

the border now only appears if the page in question has a id somewhere like html or body tags of 'aboutpage'

One thing that does strike me is that the border you want to remove appears to be not containing floated elements, another issue perhaps but one you might want to look at.

Again though I'm speculating as you fail to show us any real world code.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me