Editing my Edit Mode
Permalink
I have a group of divs absolutely positioned at the bottom of my page. The cursive titles (4) are static images while the caption text (4) are editable C5 blocks.
When I hit edit mode all of the red-tape edit blocks pile up. However, hitting them still let's me edit content, it's just their positioning I can't figure out how to control.
Thanks for the help!
Joel
When I hit edit mode all of the red-tape edit blocks pile up. However, hitting them still let's me edit content, it's just their positioning I can't figure out how to control.
Thanks for the help!
Joel
Make a variable style declaration in your template.
Or any style that fixes it when you are in edit mode. You may have to play around with it a bit. CSS can be a tricky bastard. :-)
if ($c->isEditMode()) { echo 'style="position:relative;"'; }
Or any style that fixes it when you are in edit mode. You may have to play around with it a bit. CSS can be a tricky bastard. :-)
You are spot on. I ended up giving most pages a separate, internal style sheet in the header for edit mode. Not ideal, but it lets me use absolute positioning.
Thanks again!
Joel
Thanks again!
Joel
you could also use a global style sheet which is only included in edit mode then set the values as !important to make sure they stick.
hi! I'm new to this and very lost, so you'll have to hold my hand through every step (sorry about that)
how do i make a global style sheet only for edit mode so i can define the positioning of the blocks to stay the same in edit mode?
any help's appreciated! thanks
how do i make a global style sheet only for edit mode so i can define the positioning of the blocks to stay the same in edit mode?
any help's appreciated! thanks
Do they need to be in a certain position while in edit mode?, I tend to ignore things being out of place when in edit mode to make things easier to edit.
But if you want to include a style sheet,
within your header add
<?php
if($c->isEditMode()){
//include your css file here
//I would copy the css file call from the header and then place below, //I dont have it in front of me so can not remember the code
//to do this so here is the default stylesheet include?>
<link rel="stylesheet" href="/path_to_css" type="text/css" />
<?php
}
?>
But if you want to include a style sheet,
within your header add
<?php
if($c->isEditMode()){
//include your css file here
//I would copy the css file call from the header and then place below, //I dont have it in front of me so can not remember the code
//to do this so here is the default stylesheet include?>
<link rel="stylesheet" href="/path_to_css" type="text/css" />
<?php
}
?>
worked it out... thankyou!
Hi!
anyone here who play online casino games such as poker, blackjack,baccarat, roulette, and slot machines?
If you are looking for great online casino game sites well i would recommend you JBET POKER and WILD JUNGLE CASINO. JBET Poker allows a variety of cash games and daily tournaments sure to suits any player. while Wild Jungle CAsino offer over 60 traditional Online casino games and you can ever play Progressives to be in to win Massive Jackpots!
Both site provide a 24/7 customer support team so you can contact or e-mail them to solve any issue or answer any questions that you may have.
To visit JBET POKER go to: jbetpoker.com
To visit WILD JUNGLE CASINO go to: wjc888.com
anyone here who play online casino games such as poker, blackjack,baccarat, roulette, and slot machines?
If you are looking for great online casino game sites well i would recommend you JBET POKER and WILD JUNGLE CASINO. JBET Poker allows a variety of cash games and daily tournaments sure to suits any player. while Wild Jungle CAsino offer over 60 traditional Online casino games and you can ever play Progressives to be in to win Massive Jackpots!
Both site provide a 24/7 customer support team so you can contact or e-mail them to solve any issue or answer any questions that you may have.
To visit JBET POKER go to: jbetpoker.com
To visit WILD JUNGLE CASINO go to: wjc888.com
Welcome Spam Bot
Hello !
I did it like this:
<?php
if($c->isEditMode()){
$path = $this->getThemePath();
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"{$path}/css/stylesheet_name.css\" >";
}
?>
I did it like this:
<?php
if($c->isEditMode()){
$path = $this->getThemePath();
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"{$path}/css/stylesheet_name.css\" >";
}
?>
the post made by TheRealSean.. maybe because i have the latest version of C5 .. it didn't work .. this code did - though i had to clear the cache in order to see the changes. thanks boss :)
Joel